From 967552be2f944ee1d342f41624357bf38aa75f1c Mon Sep 17 00:00:00 2001 From: Paul Jolly Date: Mon, 12 Feb 2024 19:22:54 +0000 Subject: [PATCH] site: upgrade to v0.8.0-alpha.1 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 Change-Id: I0b47cb3b4f1776c49c12b436d49e14c343a50cca Dispatch-Trailer: {"type":"trybot","CL":1176776,"patchset":4,"ref":"refs/changes/76/1176776/4","targetBranch":"alpha"} --- hugo/config/_default/params.toml | 2 +- .../working-with-a-custom-module-registry/index.md | 2 +- internal/cmd/preprocessor/cmd/_docker/Dockerfile | 4 ++-- internal/cmd/preprocessor/cmd/gen_dockerimagetag.go | 2 +- .../cmd/testdata/execute_multistagescript.txtar | 12 ++++++------ playground/src/config/gen_cuelang_org_go_version.ts | 2 +- site.cue | 2 +- 7 files changed, 13 insertions(+), 13 deletions(-) diff --git a/hugo/config/_default/params.toml b/hugo/config/_default/params.toml index 86759f338..ff575542f 100644 --- a/hugo/config/_default/params.toml +++ b/hugo/config/_default/params.toml @@ -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' diff --git a/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md b/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md index 77c6e7e0e..fc6ee31e1 100644 --- a/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md +++ b/hugo/content/en/docs/tutorial/working-with-a-custom-module-registry/index.md @@ -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 ... ``` diff --git a/internal/cmd/preprocessor/cmd/_docker/Dockerfile b/internal/cmd/preprocessor/cmd/_docker/Dockerfile index 8eca7bfe0..33e64496f 100644 --- a/internal/cmd/preprocessor/cmd/_docker/Dockerfile +++ b/internal/cmd/preprocessor/cmd/_docker/Dockerfile @@ -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/cue@v0.8.0-0.dev.0.20240210175433-b460e71a6f24 + go install -trimpath cuelang.org/go/cmd/cue@v0.8.0-0.dev.0.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 / diff --git a/internal/cmd/preprocessor/cmd/gen_dockerimagetag.go b/internal/cmd/preprocessor/cmd/gen_dockerimagetag.go index 819656a35..ebfc181f5 100644 --- a/internal/cmd/preprocessor/cmd/gen_dockerimagetag.go +++ b/internal/cmd/preprocessor/cmd/gen_dockerimagetag.go @@ -2,4 +2,4 @@ package cmd -const dockerImageTag = "preprocessor:d3f0435095fb485490797d77c09e75183266079906c1a4f80a69a3106ee2727e" +const dockerImageTag = "preprocessor:d9d3c7dfb16bc29774355dfbd66a505530f7ef486d1d3173662b1c75f4e5796e" diff --git a/internal/cmd/preprocessor/cmd/testdata/execute_multistagescript.txtar b/internal/cmd/preprocessor/cmd/testdata/execute_multistagescript.txtar index 1e2f131f2..5d235c7b1 100644 --- a/internal/cmd/preprocessor/cmd/testdata/execute_multistagescript.txtar +++ b/internal/cmd/preprocessor/cmd/testdata/execute_multistagescript.txtar @@ -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 @@ -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 @@ -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 diff --git a/playground/src/config/gen_cuelang_org_go_version.ts b/playground/src/config/gen_cuelang_org_go_version.ts index ac1f93789..b13906fd6 100644 --- a/playground/src/config/gen_cuelang_org_go_version.ts +++ b/playground/src/config/gen_cuelang_org_go_version.ts @@ -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'; diff --git a/site.cue b/site.cue index 9cbf4dff6..d88e45541 100644 --- a/site.cue +++ b/site.cue @@ -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" }