Skip to content

Commit

Permalink
site: upgrade to v0.8.0-alpha.1
Browse files Browse the repository at this point in the history
Verified the commit is complete locally with:

    go generate ./...
    ./_scripts/buildDockerImage.bash
    ./_scripts/runPreprocessor.bash execute --update
    CUE_UPDATE=1 go test -run TestScripts/execute_multistagescript ./internal/cmd/preprocessor/cmd
    go test ./...

We set Preprocessor-No-Write-Cache in order that we don't lose real
diffs in a see of gen_cache.cue updates.

Preprocessor-No-Write-Cache: true
Signed-off-by: Paul Jolly <[email protected]>
Change-Id: I0b47cb3b4f1776c49c12b436d49e14c343a50cca
Reviewed-on: https://review.gerrithub.io/c/cue-lang/cuelang.org/+/1176776
Reviewed-by: Daniel Martí <[email protected]>
TryBot-Result: CUEcueckoo <[email protected]>
Reviewed-by: Roger Peppe <[email protected]>
  • Loading branch information
myitcv authored and rogpeppe committed Feb 13, 2024
1 parent 4cb0f99 commit 257a494
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion hugo/config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ logo = "svg/logo-alpha.svg"
# Contents allows for markdown, leave out the button if you don't want a button
[notification]
type = 'test'
content = '**Note:** documentation on this site relies on CUE v0.8.0-0.dev.0.20240210175433-b460e71a6f24'
content = '**Note:** documentation on this site relies on CUE v0.8.0-alpha.1'
[notification.button]
link = 'https://github.com/cue-lang/cue/releases'
icon = 'download'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ This tutorial is written using the following version of `cmd/cue`:

```text { title="TERMINAL" codeToCopy="Y3VlIHZlcnNpb24K" }
$ cue version
cue version v0.8.0-0.dev.0.20240210175433-b460e71a6f24
cue version v0.8.0-alpha.1
...
```

Expand Down Expand Up @@ -269,7 +269,7 @@ We can see that the dependencies have now been added to the
$ cat cue.mod/module.cue
module: "glacial-tech.example/frostyapp@v0"
language: {
version: "v0.8.0-0.dev"
version: "v0.8.0-alpha.1"
}
deps: {
"glacial-tech.example/frostyconfig@v0": {
Expand Down Expand Up @@ -402,7 +402,7 @@ Here is what the `cue.mod/module.cue` file now looks like:
$ cat cue.mod/module.cue
module: "glacial-tech.example/frostyapp@v0"
language: {
version: "v0.8.0-0.dev"
version: "v0.8.0-alpha.1"
}
deps: {
"glacial-tech.example/frostyconfig@v0": {
Expand Down
4 changes: 2 additions & 2 deletions internal/cmd/preprocessor/cmd/_docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,14 @@ RUN \
--mount=type=cache,target=/cache/gocache \
--mount=type=cache,target=/cache/gomodcache \
export GOCACHE=/cache/gocache GOMODCACHE=/cache/gomodcache && \
go install -trimpath cuelang.org/go/cmd/[email protected]0.dev.0.20240210175433-b460e71a6f24
go install -trimpath cuelang.org/go/cmd/[email protected]alpha.1

FROM golang:1.22.0

RUN mkdir -p /go/bin

ENV PATH="/go/bin:/usr/local/go/bin:${PATH}"
ENV CUE_VERSION="v0.8.0-0.dev.0.20240210175433-b460e71a6f24"
ENV CUE_VERSION="v0.8.0-alpha.1"

WORKDIR /

Expand Down
2 changes: 1 addition & 1 deletion internal/cmd/preprocessor/cmd/gen_dockerimagetag.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ hello
```
```text { title="TERMINAL" codeToCopy="Y3VlIHZlcnNpb24K" }
$ cue version
cue version v0.8.0-0.dev.0.20240210175433-b460e71a6f24
cue version v0.8.0-alpha.1

go version go1.22.0
-buildmode exe
Expand All @@ -215,12 +215,12 @@ package site
page: {
cache: {
upload: {
"upload-some-cue": "0eglyxDmF7Aa2cLdeejR7/RmnFeqdT8xc2BmJ1pXZ64="
"upload-some-json": "3ASv2z3qO/8DOMBfc7bUL77Kqpbe8E5BV9or116S1yI="
"in-subdir": "Zwiy4x77+BFu61goz1QtYAalWU2pz5BnNGntPD/6asM="
"upload-some-cue": "Qeh5dBYv44+X5MjEvYJg7vlFPAdlUWMv82XbC1Sz2PE="
"upload-some-json": "UcdyFGMTs9LUPE01F0z18B1V3EABbFvRtJ2WgBWhW7Y="
"in-subdir": "zHoWoXaq9p6lYZoULKSi7hLssBPZmLU6v3l1DfYXv/o="
}
multi_step: {
"10GFRLRN4SCBAT8678JHLGL11KDBA466NKFFA9JFLJVBR84OE7UG====": [{
"A836Q874LN0IJ68A6NTQAC0QOKK8R6Q2CMU52VQ1FV0LPS6NL11G====": [{
doc: """
# script doc comment
#scripttag
Expand Down Expand Up @@ -251,7 +251,7 @@ package site
cmd: "cue version"
exitCode: 0
output: """
cue version v0.8.0-0.dev.0.20240210175433-b460e71a6f24
cue version v0.8.0-alpha.1

go version go1.22.0
-buildmode exe
Expand Down
2 changes: 1 addition & 1 deletion playground/src/config/gen_cuelang_org_go_version.ts
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.8.0-0.dev.0.20240210175433-b460e71a6f24';
export const CUEVersion = 'v0.8.0-alpha.1';
2 changes: 1 addition & 1 deletion site.cue
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
versions: {
go: "go1.22.0"
bareGoVersion: strings.TrimPrefix(go, "go")
cue: "v0.8.0-0.dev.0.20240210175433-b460e71a6f24"
cue: "v0.8.0-alpha.1"
testscript: "v1.11.0"
}

Expand Down

0 comments on commit 257a494

Please sign in to comment.