-
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.
Simply bump the default version in site.cue then run _scripts/regenPostInfraChange.bash. Preprocessor-No-Write-Cache: true Signed-off-by: Paul Jolly <[email protected]> Change-Id: Ic8fcb38b746d019f1cc427262904d67216114790
- Loading branch information
Showing
24 changed files
with
57 additions
and
57 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 |
---|---|---|
|
@@ -156,8 +156,8 @@ func main() { | |
|
||
Before running, we add a dependency on the `cuelang.org/go` module and tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
@@ -236,8 +236,8 @@ age: 99 | |
We finish by adding a dependency on the `cuelang.org/go` module, tidying, | ||
and running the program: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHkKZ28gcnVuIC4=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHkKZ28gcnVuIC4=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
@@ -310,8 +310,8 @@ func main() { | |
|
||
This time we see that CUE correctly caught a problem in our data: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHkKZ28gcnVuIC4=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHkKZ28gcnVuIC4=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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 |
---|---|---|
|
@@ -155,8 +155,8 @@ func main() { | |
|
||
We fetch the latest version of CUE, and tidy our Go module: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -122,8 +122,8 @@ func main() { | |
{{< step stepNumber="6" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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 |
---|---|---|
|
@@ -114,8 +114,8 @@ func main() { | |
{{< step stepNumber="5" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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
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 |
---|---|---|
|
@@ -84,8 +84,8 @@ and prints the validation result for each instance. | |
{{< step stepNumber="3" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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 |
---|---|---|
|
@@ -143,8 +143,8 @@ single JSON file, printing the validation result to its standard output stream. | |
|
||
{{< step stepNumber="6" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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 |
---|---|---|
|
@@ -155,8 +155,8 @@ func structToType(name cue.Selector, val cue.Value) { | |
{{< step stepNumber="6" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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
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 |
---|---|---|
|
@@ -30,7 +30,7 @@ This tutorial is written using the following versions of `go` and `cue`: | |
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Y3VlIHZlcnNpb24KZ28gdmVyc2lvbg==" } | ||
$ cue version | ||
cue version v0.11.0 | ||
cue version v0.11.1 | ||
... | ||
$ go version | ||
go version go1.23.2 linux/amd64 | ||
|
@@ -128,8 +128,8 @@ func main() { | |
{{< step stepNumber="6" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ This tutorial uses the following version of CUE: | |
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Y3VlIHZlcnNpb24=" } | ||
$ cue version | ||
cue version v0.11.0 | ||
cue version v0.11.1 | ||
... | ||
``` | ||
|
||
|
@@ -192,8 +192,8 @@ and then prints a message based on the `config` field. | |
{{< step stepNumber="8" >}} | ||
Add a dependency on `cuelang.org/go` and ensure the Go module is tidy: | ||
|
||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjAKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].0 | ||
```text { title="TERMINAL" type="terminal" codeToCopy="Z28gZ2V0IGN1ZWxhbmcub3JnL2dvQHYwLjExLjEKZ28gbW9kIHRpZHk=" } | ||
$ go get cuelang.org/[email protected].1 | ||
... | ||
$ go mod tidy | ||
... | ||
|
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
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 |
---|---|---|
|
@@ -24,7 +24,7 @@ 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 go install -trimpath cuelang.org/go/cmd/[email protected].0 | ||
GOBIN=/cues/v0.11.1 go install -trimpath cuelang.org/go/cmd/[email protected].1 | ||
|
||
RUN git clone https://github.com/cue-lang/libcue.git /libcue | ||
RUN git -C /libcue reset --hard 1c861cc9cdc5584f5d26b0a7112aa2afee74d4cf | ||
|
@@ -44,14 +44,14 @@ ENV LC_ALL=C.UTF-8 | |
|
||
# Default to the default value of CUE. Guides can fix to a different | ||
# version explicitly | ||
ENV PATH="/cues/v0.11.0:${PATH}" | ||
ENV PATH="/cues/v0.11.1:${PATH}" | ||
|
||
ENV PATH="/go/bin:/usr/local/go/bin:${PATH}" | ||
ENV CUELANG_CUE_LATEST="v0.11.0" | ||
ENV CUELANG_CUE_PRERELEASE="v0.11.0" | ||
ENV CUELANG_CUE_TIP="v0.11.0" | ||
ENV CUELANG_CUE_DEFAULT="v0.11.0" | ||
ENV CUELANG_CUE_PLAYGROUND="v0.11.0" | ||
ENV CUELANG_CUE_LATEST="v0.11.1" | ||
ENV CUELANG_CUE_PRERELEASE="v0.11.1" | ||
ENV CUELANG_CUE_TIP="v0.11.1" | ||
ENV CUELANG_CUE_DEFAULT="v0.11.1" | ||
ENV CUELANG_CUE_PLAYGROUND="v0.11.1" | ||
|
||
WORKDIR / | ||
|
||
|
@@ -64,7 +64,7 @@ RUN chmod 755 /usr/bin/entrypoint.sh | |
RUN chown root:root /usr/bin/entrypoint.sh | ||
|
||
COPY --from=build /go/bin/testscript /go/bin | ||
COPY --from=build /cues/v0.11.0/cue /cues/v0.11.0/cue | ||
COPY --from=build /cues/v0.11.1/cue /cues/v0.11.1/cue | ||
|
||
COPY --from=build /libcue/libcue.so /usr/local/lib/ | ||
ENV LD_LIBRARY_PATH="/usr/local/lib" | ||
|
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
// Code generated site_tool.cue; DO NOT EDIT. | ||
|
||
export const CUEVersion = 'v0.11.0'; | ||
export const CUEVersion = 'v0.11.1'; |
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