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
Dispatch-Trailer: {"type":"trybot","CL":1176776,"patchset":4,"ref":"refs/changes/76/1176776/4","targetBranch":"alpha"}
  • Loading branch information
myitcv authored and cueckoo committed Feb 12, 2024
1 parent f0e515c commit 967552b
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 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-0.dev.0.20240212172658-e69d89310e52'
[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-0.dev.0.20240212172658-e69d89310e52
...
```

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].20240210175433-b460e71a6f24
go install -trimpath cuelang.org/go/cmd/[email protected].20240212172658-e69d89310e52

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-0.dev.0.20240212172658-e69d89310e52"

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-0.dev.0.20240212172658-e69d89310e52

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": "z4lVERYuHgossb7TC8yzyr/P7TdhgrVfdmgRXPbtp8w="
"upload-some-json": "vb2zaoFSxcyutaRVqmPPETlzGXAIUyThw4FF/9+ufQo="
"in-subdir": "s0w8LLixXplVcUdq95oWfudLuNZRzB5f4PEoUgYQ8m4="
}
multi_step: {
"10GFRLRN4SCBAT8678JHLGL11KDBA466NKFFA9JFLJVBR84OE7UG====": [{
"ANBJQOJ16F9G8127BGGH6QCV4GVH7RJ579AF3I8404I3NIITK4K0====": [{
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-0.dev.0.20240212172658-e69d89310e52

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-0.dev.0.20240212172658-e69d89310e52';
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-0.dev.0.20240212172658-e69d89310e52"
testscript: "v1.11.0"
}

Expand Down

0 comments on commit 967552b

Please sign in to comment.