-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This changes the site's idea of what CUE version "tip" refers to. Steps: - discover pseudo-version with "go get cuelang.org/go@master" - update site.cue:versions.cue.tip.v with the pseudo-version - go generate ./... - _scripts/buildDockerImage.bash - CUE_UPDATE=1 go test -run TestScripts/execute_multistagescript ./internal/cmd/preprocessor/cmd Preprocessor-No-Write-Cache: true Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I70051cd257815b48457eb9f85ae6b2eed9115e35 Dispatch-Trailer: {"type":"trybot","CL":1199794,"patchset":6,"ref":"refs/changes/94/1199794/6","targetBranch":"master"}
- Loading branch information
1 parent
901aa17
commit ca4b371
Showing
4 changed files
with
14 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,12 @@ RUN \ | |
export GOCACHE=/cache/gocache GOMODCACHE=/cache/gomodcache && \ | ||
GOBIN=/cues/v0.10.0 go install -trimpath cuelang.org/go/cmd/[email protected] | ||
|
||
RUN \ | ||
--mount=type=cache,target=/cache/gocache \ | ||
--mount=type=cache,target=/cache/gomodcache \ | ||
export GOCACHE=/cache/gocache GOMODCACHE=/cache/gomodcache && \ | ||
GOBIN=/cues/v0.11.0-0.dev.0.20240904084811-bb24c7ce1f04 go install -trimpath cuelang.org/go/cmd/[email protected] | ||
|
||
RUN git clone https://github.com/cue-lang/libcue.git /libcue | ||
RUN git -C /libcue reset --hard 1c861cc9cdc5584f5d26b0a7112aa2afee74d4cf | ||
RUN CGO_ENABLED=1 go build -C /libcue -o libcue.so -buildmode=c-shared | ||
|
@@ -42,7 +48,7 @@ ENV PATH="/cues/v0.10.0:${PATH}" | |
ENV PATH="/go/bin:/usr/local/go/bin:${PATH}" | ||
ENV CUELANG_CUE_LATEST="v0.10.0" | ||
ENV CUELANG_CUE_PRERELEASE="v0.10.0" | ||
ENV CUELANG_CUE_TIP="v0.10.0" | ||
ENV CUELANG_CUE_TIP="v0.11.0-0.dev.0.20240904084811-bb24c7ce1f04" | ||
ENV CUELANG_CUE_DEFAULT="v0.10.0" | ||
ENV CUELANG_CUE_PLAYGROUND="v0.10.0" | ||
|
||
|
@@ -58,6 +64,7 @@ RUN chown root:root /usr/bin/entrypoint.sh | |
|
||
COPY --from=build /go/bin/testscript /go/bin | ||
COPY --from=build /cues/v0.10.0/cue /cues/v0.10.0/cue | ||
COPY --from=build /cues/v0.11.0-0.dev.0.20240904084811-bb24c7ce1f04/cue /cues/v0.11.0-0.dev.0.20240904084811-bb24c7ce1f04/cue | ||
|
||
COPY --from=build /libcue/libcue.so /usr/local/lib/ | ||
ENV LD_LIBRARY_PATH="/usr/local/lib:${LD_LIBRARY_PATH}" | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters