Skip to content

Commit b8b348f

Browse files
[vendor-schemas] automated update (#482)
Co-authored-by: sirosen <[email protected]>
1 parent 70ecf44 commit b8b348f

File tree

11 files changed

+110
-90
lines changed

11 files changed

+110
-90
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13-
- Update vendored schemas (2024-08-25)
13+
- Update vendored schemas (2024-09-08)
1414

1515
0.29.2
1616
------

src/check_jsonschema/builtin_schemas/vendor/buildkite.json

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,49 @@
113113
[ "feature/*", "chore/*" ]
114114
]
115115
},
116+
"cache": {
117+
"description": "The paths for the caches to be used in the step",
118+
"anyOf": [
119+
{
120+
"type": "string"
121+
},
122+
{
123+
"type": "array",
124+
"items": { "type": "string" }
125+
},
126+
{
127+
"type": "object",
128+
"properties": {
129+
"paths": {
130+
"anyOf": [
131+
{ "type": "string" },
132+
{
133+
"type": "array",
134+
"items": { "type": "string" }
135+
}
136+
]
137+
},
138+
"size": {
139+
"type": "string",
140+
"pattern": "^\\d+g$"
141+
},
142+
"name": {
143+
"type": "string"
144+
}
145+
},
146+
"required": ["paths"]
147+
}
148+
],
149+
"examples": [
150+
"dist/",
151+
[ ".build/*", "assets/*" ],
152+
{
153+
"name": "cool-cache",
154+
"size": "20g",
155+
"paths": ["/path/one", "/path/two"]
156+
}
157+
]
158+
},
116159
"cancelOnBuildFailing": {
117160
"type": "boolean",
118161
"description": "Whether to cancel the job as soon as the build is marked as failing",

src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -829,6 +829,18 @@
829829
"properties": {
830830
"name": {
831831
"type": "string"
832+
},
833+
"data_key": {
834+
"type": "string"
835+
},
836+
"cert_user_name": {
837+
"type": "string"
838+
},
839+
"public_key_data": {
840+
"type": "string"
841+
},
842+
"csr_data": {
843+
"type": "string"
832844
}
833845
},
834846
"additionalProperties": false
@@ -2377,6 +2389,10 @@
23772389
"path_prefix": {
23782390
"type": "string",
23792391
"markdownDescription": "The GitLab Pages URL path prefix used in this version of pages. The given value is converted to lowercase, shortened to 63 bytes, and everything except alphanumeric characters is replaced with a hyphen. Leading and trailing hyphens are not permitted."
2392+
},
2393+
"expire_in": {
2394+
"type": "string",
2395+
"markdownDescription": "How long the deployment should be active. Deployments that have expired are no longer available on the web. Supports a wide variety of formats, e.g. '1 week', '3 mins 4 sec', '2 hrs 20 min', '2h20min', '6 mos 1 day', '47 yrs 6 mos and 4d', '3 weeks and 2 days'. Set to 'never' to prevent extra deployments from expiring. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#pagesexpire_in)."
23802396
}
23812397
}
23822398
}

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,17 @@
455455
},
456456
"$ref": "#"
457457
},
458+
"bun-version": {
459+
"description": "Configuration object for the bun-version manager",
460+
"type": "object",
461+
"default": {
462+
"fileMatch": [
463+
"(^|/)\\.bun-version$"
464+
],
465+
"versioning": "npm"
466+
},
467+
"$ref": "#"
468+
},
458469
"bundler": {
459470
"description": "Configuration object for the bundler manager",
460471
"type": "object",
@@ -1001,7 +1012,7 @@
10011012
"dockerSidecarImage": {
10021013
"description": "Change this value to override the default Renovate sidecar image.",
10031014
"type": "string",
1004-
"default": "ghcr.io/containerbase/sidecar:11.11.6"
1015+
"default": "ghcr.io/containerbase/sidecar:11.11.11"
10051016
},
10061017
"dockerUser": {
10071018
"description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7b91fb4c29df17714b03eb0eb803a801f1d347b18fb12bc46be7038d46f220c5
1+
06c2303d3c39c1898b43791708f8792397ce932ee4e7bc8136761dbd9b962016
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
92d3e0c05e41438d3d43227dd42cde6a71bda64156b31bf44e57a18de950641d
1+
9eae55e56d25b26d95e7f3efa69773452d43598f11382b1a8b0254c7385aa056
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4d57da18696b9d84e17ba73cdd0cdbbe606701f16ff9ac30f38a3f6359a6a9e6
1+
9e98bf9eb3e4277d98e687d6124b96dfe6fb969457b9d56d0e81c38f181c3ecc
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
326c9ebefc80d262b106ef252fecad30b389aace8a3936bac6049116b25efb7d
1+
32b9a4b87c55bc0acde937a77d121671ffbd8e62304f84e85fc1de54e6cd5547
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c8cb2cc10d929ae47d4349b9f977bca534913b4d01a5e258c35c05dfe4f5417d
1+
39f6e12a0594365a9d205e51278ae4d5877e99cf16d6881d405a928ce02d248b

src/check_jsonschema/builtin_schemas/vendor/taskfile.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,9 @@
431431
},
432432
{
433433
"$ref": "#/definitions/for_var"
434+
},
435+
{
436+
"$ref": "#/definitions/for_matrix"
434437
}
435438
]
436439
},
@@ -467,6 +470,12 @@
467470
"additionalProperties": false,
468471
"required": ["var"]
469472
},
473+
"for_matrix": {
474+
"description": "A matrix of values to iterate over",
475+
"type": "object",
476+
"additionalProperties": true,
477+
"required": ["matrix"]
478+
},
470479
"precondition": {
471480
"anyOf": [
472481
{
@@ -610,6 +619,10 @@
610619
"description": "If `true`, no errors will be thrown if the specified file does not exist.",
611620
"type": "boolean"
612621
},
622+
"flatten": {
623+
"description": "If `true`, the tasks from the included Taskfile will be available in the including Taskfile without a namespace. If a task with the same name already exists in the including Taskfile, an error will be thrown.",
624+
"type": "boolean"
625+
},
613626
"internal": {
614627
"description": "Stops any task in the included Taskfile from being callable on the command line. These commands will also be omitted from the output when used with `--list`.",
615628
"type": "boolean"

src/check_jsonschema/builtin_schemas/vendor/woodpecker-ci.json

Lines changed: 20 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -227,13 +227,10 @@
227227
},
228228
"step": {
229229
"description": "A step of your workflow executes either arbitrary commands or uses a plugin. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
230-
"oneOf": [
230+
"anyOf": [
231231
{
232232
"$ref": "#/definitions/commands_step"
233233
},
234-
{
235-
"$ref": "#/definitions/entrypoint_step"
236-
},
237234
{
238235
"$ref": "#/definitions/plugin_step"
239236
}
@@ -243,89 +240,29 @@
243240
"description": "Every step of your pipeline executes arbitrary commands inside a specified docker container. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
244241
"type": "object",
245242
"additionalProperties": false,
246-
"required": ["image", "commands"],
247-
"properties": {
248-
"name": {
249-
"description": "The name of the step. Can be used if using the array style steps list.",
250-
"type": "string"
251-
},
252-
"image": {
253-
"$ref": "#/definitions/step_image"
254-
},
255-
"privileged": {
256-
"$ref": "#/definitions/step_privileged"
257-
},
258-
"pull": {
259-
"$ref": "#/definitions/step_pull"
260-
},
261-
"commands": {
262-
"$ref": "#/definitions/step_commands"
263-
},
264-
"environment": {
265-
"$ref": "#/definitions/step_environment"
266-
},
267-
"directory": {
268-
"$ref": "#/definitions/step_directory"
269-
},
270-
"secrets": {
271-
"$ref": "#/definitions/step_secrets"
272-
},
273-
"when": {
274-
"$ref": "#/definitions/step_when"
275-
},
276-
"volumes": {
277-
"$ref": "#/definitions/step_volumes"
278-
},
279-
"depends_on": {
280-
"description": "Execute a step after another step has finished.",
281-
"oneOf": [
282-
{
283-
"type": "array",
284-
"minLength": 1,
285-
"items": {
286-
"type": "string"
243+
"required": ["image"],
244+
"allOf": [
245+
{
246+
"if": {
247+
"properties": {
248+
"detach": {
249+
"const": true
287250
}
288-
},
289-
{
290-
"type": "string"
291251
}
292-
]
293-
},
294-
"detach": {
295-
"description": "Detach a step to run in background until pipeline finishes. Read more: https://woodpecker-ci.org/docs/usage/services#detachment",
296-
"type": "boolean"
297-
},
298-
"failure": {
299-
"description": "How to handle the failure of this step. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#failure",
300-
"type": "string",
301-
"enum": ["fail", "ignore"],
302-
"default": "fail"
303-
},
304-
"backend_options": {
305-
"$ref": "#/definitions/step_backend_options"
306-
},
307-
"entrypoint": {
308-
"description": "Defines container entrypoint.",
309-
"oneOf": [
310-
{
311-
"type": "array",
312-
"minLength": 1,
313-
"items": {
314-
"type": "string"
252+
},
253+
"then": {},
254+
"else": {
255+
"anyOf": [
256+
{
257+
"required": ["commands"]
258+
},
259+
{
260+
"required": ["entrypoint"]
315261
}
316-
},
317-
{
318-
"type": "string"
319-
}
320-
]
262+
]
263+
}
321264
}
322-
}
323-
},
324-
"entrypoint_step": {
325-
"description": "Every step of your pipeline executes arbitrary commands inside a specified docker container. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
326-
"type": "object",
327-
"additionalProperties": false,
328-
"required": ["image", "entrypoint"],
265+
],
329266
"properties": {
330267
"name": {
331268
"description": "The name of the step. Can be used if using the array style steps list.",

0 commit comments

Comments
 (0)