diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index e8f8919..7b504d9 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -88,7 +88,7 @@ "moduleExtensions": { "//cue:extensions.bzl%cue": { "general": { - "bzlTransitiveDigest": "e9iYayIDmjj6QnBQgjcJWec3QHrYNxPuQrFjFXL//74=", + "bzlTransitiveDigest": "oGsASXOnzt5xgVRy+OtjMZjOYAidSNxAA9UQa0pr8lk=", "usagesDigest": "lubryrJXihPDNbHcQbq7NVEBQAxr8uYW3XZuMnCarWA=", "recordedFileInputs": {}, "recordedDirentsInputs": {}, @@ -98,7 +98,7 @@ "bzlFile": "@@//cue/private/tools/cue:toolchain.bzl", "ruleClassName": "_download_tool", "attributes": { - "version": "v0.11.2" + "version": "v0.12.0" } }, "cue_tool_toolchains": { @@ -106,7 +106,7 @@ "ruleClassName": "_toolchains_repo", "attributes": { "tool_repo": "cue_tool", - "version": "v0.11.2" + "version": "v0.12.0" } } }, diff --git a/cue/private/tools/cue/toolchain.bzl b/cue/private/tools/cue/toolchain.bzl index d5d7640..eea0d46 100644 --- a/cue/private/tools/cue/toolchain.bzl +++ b/cue/private/tools/cue/toolchain.bzl @@ -3,6 +3,14 @@ visibility("public") _TOOLS_BY_RELEASE = { + "v0.12.0": { + struct(os = "darwin", arch = "amd64"): "8474e522a978ecadef49b06d706ff276cd07629b1aa107b88adfc1284d3f93cc", + struct(os = "darwin", arch = "arm64"): "7055a6423f753c8ea763699d48d78d341e8543397399daee281c66ecdc9ec5a5", + struct(os = "linux", arch = "amd64"): "e55cd5abd98a592c110f87a7da9ef15bc72515200aecfe1bed04bf86311f5ba1", + struct(os = "linux", arch = "arm64"): "488012bb0e5c080e2a9694ef8765403dd1075a4ec373dda618efa2d37b47f14f", + struct(os = "windows", arch = "amd64"): "268bf95f4767b37d5db01450d55ca9d10e9a8bd8a1417c31dff456b5f9775abf", + struct(os = "windows", arch = "arm64"): "91ad090eb86b0d21186d8de0a7b985d235b27e67cd464f7738663e457b042505", + }, "v0.11.2": { struct(os = "darwin", arch = "amd64"): "75023d1b98ce8a4398b9b652c093cd44aa5255976f162d099aca3dd68abf1d58", struct(os = "darwin", arch = "arm64"): "7fde93169c13b830b3a9a9009cea8c564488b464f39f543f066498e4b844e84a", @@ -45,7 +53,7 @@ _TOOLS_BY_RELEASE = { }, } -_DEFAULT_TOOL_VERSION = "v0.11.2" +_DEFAULT_TOOL_VERSION = "v0.12.0" def known_release_versions(): return _TOOLS_BY_RELEASE.keys() diff --git a/test/testdata/hello_world/de-golden.json b/test/testdata/hello_world/de-golden.json index 89abc26..ff9d907 100644 --- a/test/testdata/hello_world/de-golden.json +++ b/test/testdata/hello_world/de-golden.json @@ -1,4 +1,4 @@ { - "mixed": true, - "message": "Hallo, Welt!" + "message": "Hallo, Welt!", + "mixed": true } diff --git a/test/testdata/hello_world/en-golden.json b/test/testdata/hello_world/en-golden.json index ebf32a1..fbe711d 100644 --- a/test/testdata/hello_world/en-golden.json +++ b/test/testdata/hello_world/en-golden.json @@ -1,4 +1,4 @@ { - "mixed": true, - "message": "Hello, world!" + "message": "Hello, world!", + "mixed": true } diff --git a/test/testdata/myservice/environments/dev-golden.json b/test/testdata/myservice/environments/dev-golden.json index 4ff1241..6e1da2b 100644 --- a/test/testdata/myservice/environments/dev-golden.json +++ b/test/testdata/myservice/environments/dev-golden.json @@ -1,4 +1,6 @@ { + "apiVersion": "extensions/v1beta1", + "kind": "Deployment", "metadata": { "name": "myservice", "namespace": "myservice", @@ -68,7 +70,5 @@ "strategy": { "type": "Recreate" } - }, - "kind": "Deployment", - "apiVersion": "extensions/v1beta1" + } } diff --git a/test/testdata/myservice/environments/prod-golden.json b/test/testdata/myservice/environments/prod-golden.json index d520466..2cacbdd 100644 --- a/test/testdata/myservice/environments/prod-golden.json +++ b/test/testdata/myservice/environments/prod-golden.json @@ -1,4 +1,6 @@ { + "apiVersion": "extensions/v1beta1", + "kind": "Deployment", "metadata": { "name": "myservice", "namespace": "myservice", @@ -68,7 +70,5 @@ "strategy": { "type": "Recreate" } - }, - "kind": "Deployment", - "apiVersion": "extensions/v1beta1" + } } diff --git a/test/testdata/path/multiple-golden.json b/test/testdata/path/multiple-golden.json index ac95d4f..5d1a600 100644 --- a/test/testdata/path/multiple-golden.json +++ b/test/testdata/path/multiple-golden.json @@ -1,5 +1,5 @@ { - "raw.txt": "Hello!", "a": 1, - "b": 2 + "b": 2, + "raw.txt": "Hello!" }