Skip to content

Commit 0bb1f41

Browse files
[vendor-schemas] automated update (#235)
Co-authored-by: sirosen <[email protected]>
1 parent d2b5f95 commit 0bb1f41

File tree

9 files changed

+77
-14
lines changed

9 files changed

+77
-14
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ Unreleased
1010

1111
.. vendor-insert-here
1212
13+
- Update vendored schemas (2023-02-18)
14+
1315
0.21.0
1416
------
1517

src/check_jsonschema/builtin_schemas/vendor/buildkite.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,28 @@
6767
"description": "The number of times this job can be retried",
6868
"minimum": 1,
6969
"maximum": 10
70+
},
71+
"signal": {
72+
"description": "The exit signal, if any, that may be retried",
73+
"type": "string",
74+
"examples": [
75+
"*",
76+
"none",
77+
"SIGKILL",
78+
"term"
79+
]
80+
},
81+
"signal_reason": {
82+
"description": "The exit signal reason, if any, that may be retried",
83+
"type": "string",
84+
"enum": [
85+
"*",
86+
"none",
87+
"agent_refused",
88+
"agent_stop",
89+
"cancel",
90+
"process_run_error"
91+
]
7092
}
7193
},
7294
"additionalProperties": false
@@ -87,6 +109,11 @@
87109
[ "feature/*", "chore/*" ]
88110
]
89111
},
112+
"cancelOnBuildFailing": {
113+
"type": "boolean",
114+
"description": "Whether to cancel the job as soon as the build is marked as failing",
115+
"default": false
116+
},
90117
"dependsOn": {
91118
"description": "The step keys for a step to depend on",
92119
"anyOf": [
@@ -284,7 +311,7 @@
284311
"key": {
285312
"type": "string",
286313
"description": "The meta-data key that stores the field's input",
287-
"pattern": "^[a-zA-Z0-9-]+$",
314+
"pattern": "^[a-zA-Z0-9-_]+$",
288315
"examples": [
289316
"release-name"
290317
]
@@ -327,7 +354,7 @@
327354
"key": {
328355
"type": "string",
329356
"description": "The meta-data key that stores the field's input",
330-
"pattern": "^[a-zA-Z0-9-]+$",
357+
"pattern": "^[a-zA-Z0-9-_]+$",
331358
"examples": [
332359
"release-stream"
333360
]
@@ -621,6 +648,9 @@
621648
"branches": {
622649
"$ref": "#/definitions/commonOptions/branches"
623650
},
651+
"cancel_on_build_failing": {
652+
"$ref": "#/definitions/commonOptions/cancelOnBuildFailing"
653+
},
624654
"command": {
625655
"description": "The commands to run on the agent",
626656
"anyOf": [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
9c400f617d809ea2065b62a67f91462aa4ab31d2601940a02adc0d08cbd8a11c
1+
d5a124e5e5d0e75857d72ae814c435444728437bf35befbcef9128c9f83aa445

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

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,20 @@
413413
"template"
414414
]
415415
},
416+
{
417+
"type": "object",
418+
"additionalProperties": false,
419+
"properties": {
420+
"component": {
421+
"description": "Local path to component directory or full path to external component directory.",
422+
"type": "string",
423+
"format": "uri-reference"
424+
}
425+
},
426+
"required": [
427+
"component"
428+
]
429+
},
416430
{
417431
"type": "object",
418432
"additionalProperties": false,
@@ -523,7 +537,7 @@
523537
},
524538
"entrypoint": {
525539
"type": "array",
526-
"description": "Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array.",
540+
"markdownDescription": "Command or script that should be executed as the container's entrypoint. It will be translated to Docker's --entrypoint option while creating the container. The syntax is similar to Dockerfile's ENTRYPOINT directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)",
527541
"minItems": 1,
528542
"items": {
529543
"type": "string"
@@ -558,16 +572,20 @@
558572
},
559573
"command": {
560574
"type": "array",
561-
"description": "Command or script that should be used as the container's command. It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array.",
575+
"markdownDescription": "Command or script that should be used as the container's command. It will be translated to arguments passed to Docker after the image's name. The syntax is similar to Dockerfile's CMD directive, where each shell token is a separate string in the array. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)",
562576
"minItems": 1,
563577
"items": {
564578
"type": "string"
565579
}
566580
},
567581
"alias": {
568582
"type": "string",
569-
"description": "Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information.",
583+
"markdownDescription": "Additional alias that can be used to access the service from the job's container. Read Accessing the services for more information. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)",
570584
"minLength": 1
585+
},
586+
"variables": {
587+
"$ref": "#/definitions/jobVariables",
588+
"markdownDescription": "Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ee/ci/services/index.html#available-settings-for-services)"
571589
}
572590
},
573591
"required": [
@@ -777,7 +795,7 @@
777795
"properties": {
778796
"value": {
779797
"type": "string",
780-
"markdownDescription": "Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/index.html#prefill-variables-in-manual-pipelines)"
798+
"markdownDescription": "Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesvalue)"
781799
},
782800
"options": {
783801
"type": "array",
@@ -786,7 +804,7 @@
786804
},
787805
"minItems": 1,
788806
"uniqueItems": true,
789-
"markdownDescription": "A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ee/ci/pipelines/index.html#configure-a-list-of-selectable-values-for-a-prefilled-variable)"
807+
"markdownDescription": "A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#variablesoptions)"
790808
},
791809
"description": {
792810
"type": "string",
@@ -1955,4 +1973,4 @@
19551973
"additionalProperties": false
19561974
}
19571975
}
1958-
}
1976+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
64751e700104df98fa0609442b526682ce717289ed016155a2e2776e0284d0cf
1+
af661f1f6b655a127878a8a608cb486f8da823a907d89e78683258ccf29b2f9b

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,6 +1226,13 @@
12261226
}
12271227
]
12281228
},
1229+
"ignoreReviewers": {
1230+
"description": "Reviewers to be ignored in PR reviewers presence (either username or email address depending on the platform).",
1231+
"type": "array",
1232+
"items": {
1233+
"type": "string"
1234+
}
1235+
},
12291236
"ignoreScripts": {
12301237
"description": "Set this to `false` if `allowScripts=true` and you wish to run scripts when updating lock files.",
12311238
"type": "boolean",
@@ -1600,6 +1607,11 @@
16001607
},
16011608
"$ref": "#"
16021609
},
1610+
"osvVulnerabilityAlerts": {
1611+
"description": "Use vulnerability alerts from `osv.dev`.",
1612+
"type": "boolean",
1613+
"default": false
1614+
},
16031615
"packageRules": {
16041616
"description": "Rules for matching package names.",
16051617
"type": "array",
@@ -2834,6 +2846,7 @@
28342846
"cargo",
28352847
"composer",
28362848
"conan",
2849+
"deb",
28372850
"debian",
28382851
"docker",
28392852
"git",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
49771ac0e6279f99d9beeae2eb21c042bd2bb7a20ed2300d6eb33a6ec4cc69da
1+
92b063612edf1b30340001d9a45446a6a8138abc38bd6c9d2b6b173e6279148e

src/check_jsonschema/builtin_schemas/vendor/travis.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,14 +1002,14 @@
10021002
"description": "The operating system to run the job on",
10031003
"oneOf": [
10041004
{
1005-
"enum": ["osx", "linux", "windows"]
1005+
"enum": ["osx", "linux", "linux-ppc64le", "windows"]
10061006
},
10071007
{
10081008
"type": "array",
10091009
"uniqueItems": true,
10101010
"minItems": 1,
10111011
"items": {
1012-
"enum": ["osx", "linux", "windows"]
1012+
"enum": ["osx", "linux", "linux-ppc64le", "windows"]
10131013
}
10141014
}
10151015
]
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d0bc96e3992a29931ab5dac14943989afb42fb5e246d81cfdc42824c4d5dfdc0
1+
1f4d86c500dbcd861d8d1e975e7eaa95493cf4d506ce04adcb685756e501c683

0 commit comments

Comments
 (0)