Skip to content

Commit c4d2e72

Browse files
committed
site: update all cmd/cue versions to v0.15.0
Then run _scripts/regenPostInfraChange.bash. internal/patch/tip.diff does not contain any changes requiring promotion to the site's non-tip content, so is left intact. The cache changes in content/docs/howto/log-statistics-from-the-cue-evaluator/gen_cache.cue are pulled forward into this commit, as is usual for a non-patch release. cf. The v0.14.0 upgrade commit message. Preprocessor-No-Write-Cache: true Signed-off-by: Jonathan Matthews <[email protected]> Change-Id: I39202b9c386bff3204b226d40eaf4b23e8b5936e Reviewed-on: https://cue.gerrithub.io/c/cue-lang/cuelang.org/+/1225865 TryBot-Result: CUEcueckoo <[email protected]> Reviewed-by: Daniel Martí <[email protected]>
1 parent 94aaa00 commit c4d2e72

File tree

63 files changed

+526
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+526
-259
lines changed

content/docs/concept/alias-and-reference-scopes/en.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,10 @@ config:
6767
-- out --
6868
config.serviceA.metadata.name: incomplete value string:
6969
./problem1.cue:2:13
70+
./problem1.cue:7:12
7071
config.serviceA.metadata.namespace: incomplete value string:
7172
./problem1.cue:3:13
73+
./problem1.cue:7:12
7274
{{{end}}}
7375

7476
## Explanation #1
@@ -169,8 +171,10 @@ config:
169171
-- out --
170172
config.serviceA.metadata.name: incomplete value string:
171173
./problem2.cue:2:13
174+
./problem2.cue:7:12
172175
config.serviceA.metadata.namespace: incomplete value string:
173176
./problem2.cue:3:13
177+
./problem2.cue:7:12
174178
{{{end}}}
175179

176180
## Explanation #2

content/docs/concept/how-cue-enables-configuration/en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ jobs:
128128
-- out --
129129
jobs.deploy."runs-on": conflicting values "ubuntu-latest" and "ubuntu-20.04":
130130
.github/workflows/deploy-to-ecs.yml:22:14
131+
./check.cue:6:3
131132
./check.cue:7:16
132133
{{{end}}}
133134

content/docs/concept/how-cue-works-with-json/en.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,11 @@ import "strings"
117117
region: 2 errors in empty disjunction:
118118
region: conflicting values "APAC" and "UK":
119119
./config-b.json:4:15
120+
./schema.cue:5:15
120121
./schema.cue:9:10
121122
region: conflicting values "IMEA" and "UK":
122123
./config-b.json:4:15
124+
./schema.cue:5:15
123125
./schema.cue:9:19
124126
cluster: invalid value "live03333333333333" (does not satisfy strings.MaxRunes(16)):
125127
./schema.cue:4:15
@@ -329,6 +331,7 @@ item.table: invalid value "{ \"width\": \"34\", \"height\": 23, \"depth\": 0.2 }
329331
./furniture.cue:10:17
330332
./furniture.cue:4:10
331333
./furniture.cue:15:14
334+
json.Validate:1:1
332335
json.Validate:1:12
333336
{{{end}}}
334337

content/docs/concept/how-cue-works-with-toml/en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,11 @@ repository = 'source.company.example/alpha'
105105
region: 2 errors in empty disjunction:
106106
region: conflicting values "APAC" and "UK":
107107
./config-b.toml:2:10
108+
./schema.cue:5:15
108109
./schema.cue:9:10
109110
region: conflicting values "IMEA" and "UK":
110111
./config-b.toml:2:10
112+
./schema.cue:5:15
111113
./schema.cue:9:19
112114
cluster: invalid value "live03333333333333" (does not satisfy strings.MaxRunes(16)):
113115
./schema.cue:4:15

content/docs/concept/how-cue-works-with-yaml/en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,11 @@ repository: source.company.example/alpha
104104
region: 2 errors in empty disjunction:
105105
region: conflicting values "APAC" and "UK":
106106
./config-b.yaml:3:9
107+
./schema.cue:5:15
107108
./schema.cue:9:10
108109
region: conflicting values "IMEA" and "UK":
109110
./config-b.yaml:3:9
111+
./schema.cue:5:15
110112
./schema.cue:9:19
111113
cluster: invalid value "live03333333333333" (does not satisfy strings.MaxRunes(16)):
112114
./schema.cue:4:15

content/docs/howto/log-statistics-from-the-cue-evaluator/gen_cache.cue

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ package site
77
page: {
88
cache: {
99
upload: {
10-
file: "hl/urD/+iBPgt9EQXKbWPqsQWhFk46A3vL+JDv5BH+g="
10+
file: "nC8Ngi/vKEycJ6oBft68qxp4ignOJsgC4dH9lQ88fNI="
1111
}
1212
multi_step: {
13-
hash: "MLNRSVPVK1KR0D4K9D21HNLDA5SQBLC3Q8KUUH0MCQEQT26DVQDG===="
13+
hash: "E4395FACOQDHOP55SIVPLK4M20T4E0NBPCHP0NN1N58NV8P7K63G===="
1414
scriptHash: "H32HT1IOKP19JHS8HDBLNV00ED6AAUJQ170GRGOP7JT6QKSTSIO0===="
1515
steps: [{
1616
doc: ""
@@ -42,14 +42,15 @@ package site
4242
\tMisalignedConjunct: 0
4343
\tMisalignedConstraint: 0
4444
\tSkippedNotification: 0
45+
\tResolveDep: 0
4546
\tFreed: 4
4647
\tReused: 0
4748
\tAllocs: 4
4849
\tRetained: 0
4950
}
5051
Go: {
51-
\tAllocBytes: 1419584
52-
\tAllocObjects: 7533
52+
\tAllocBytes: 1553872
53+
\tAllocObjects: 8207
5354
}
5455
5556
"""

content/docs/howto/use-list-issorted-as-a-field-validator/en.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ _sortAtSymbolCountDescending: {
5555
stringsCountDescending: ["@", "@@", "X"]
5656
stringsCountDescending: list.IsSorted(_sortAtSymbolCountDescending) // validation failure
5757
-- out --
58-
stringsDescending: invalid value ["A","B","C"] (does not satisfy list.IsSorted({T:number | string,x:number | string,y:number | string,less:_|_(Descending.less: unresolved disjunction number | string (type (string|number)) (and 1 more errors))})):
58+
stringsDescending: invalid value ["A","B","C"] (does not satisfy list.IsSorted({T:number | string,x:number | string,y:number | string,less:_|_(Descending.less: Descending.less: unresolved disjunction number | string (type (string|number)) (and 1 more errors))})):
5959
./file.cue:16:20
6060
./file.cue:17:20
61-
stringsCountDescending: invalid value ["@","@@","X"] (does not satisfy list.IsSorted({x:string,y:string,less:_|_(_sortAtSymbolCountDescending.less: error in call to strings.Count: non-concrete value string (and 1 more errors))})):
61+
stringsCountDescending: invalid value ["@","@@","X"] (does not satisfy list.IsSorted({x:string,y:string,less:_|_(_sortAtSymbolCountDescending.less: _sortAtSymbolCountDescending.less: error in call to strings.Count: non-concrete value string (and 1 more errors))})):
6262
./file.cue:33:25
6363
./file.cue:32:25
6464
{{{end}}}

content/docs/howto/use-the-built-in-function-error/en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ A: conflicting values string and 2 (mismatched types string and int):
4242
./file.cue:3:4
4343
B: Custom error B:
4444
./file.cue:6:12
45+
./file.cue:6:4
46+
./file.cue:7:4
4547
C: failed arithmetic: division by zero:
4648
./file.cue:11:4
4749
D: Custom error D:

content/docs/howto/use-the-built-in-function-matchn/en.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,9 +312,11 @@ E: [11, 12, 13] & matchN(1, [#F1, #F2, #F3])
312312
#F3: [...>100]
313313
-- out --
314314
B.x: conflicting values 4.2 and int (mismatched types float and int):
315+
./composite.cue:9:16
315316
./composite.cue:10:5
316317
./composite.cue:14:11
317318
B.y: conflicting values 4.2 and string (mismatched types float and string):
319+
./composite.cue:9:21
318320
./composite.cue:11:5
319321
./composite.cue:16:6
320322
B: invalid value {x:4.2,y:4.2,z:4.2} (does not satisfy matchN): 0 matched, expected >0:

content/docs/howto/validate-data-files-using-file-embedding/en.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ O: 222
5454
-- out --
5555
alpha.O: conflicting values 2.2 and int (mismatched types float and int):
5656
./constraints.cue:4:17
57+
./validate.cue:8:8
5758
data/alpha.json:3:10
5859
beta.X: invalid value 11 (out of bound >100):
5960
./constraints.cue:8:16

0 commit comments

Comments
 (0)