Skip to content

Commit df2b362

Browse files
[vendor-schemas] automated update (#517)
Co-authored-by: sirosen <[email protected]>
1 parent 43475f7 commit df2b362

File tree

11 files changed

+114
-58
lines changed

11 files changed

+114
-58
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 (2025-01-26)
14+
1315
0.31.0
1416
------
1517

src/check_jsonschema/builtin_schemas/vendor/buildkite.json

Lines changed: 4 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -321,16 +321,7 @@
321321
"type": "object",
322322
"properties": {
323323
"github_check": {
324-
"type": "object",
325-
"properties": {
326-
"context": {
327-
"description": "GitHub commit status name",
328-
"type": "string"
329-
}
330-
}
331-
},
332-
"if": {
333-
"$ref": "#/definitions/if"
324+
"type": "object"
334325
}
335326
},
336327
"additionalProperties": false
@@ -954,16 +945,7 @@
954945
"type": "object",
955946
"properties": {
956947
"github_check": {
957-
"type": "object",
958-
"properties": {
959-
"context": {
960-
"description": "GitHub commit status name",
961-
"type": "string"
962-
}
963-
}
964-
},
965-
"if": {
966-
"$ref": "#/definitions/if"
948+
"type": "object"
967949
}
968950
},
969951
"additionalProperties": false
@@ -1000,7 +982,8 @@
1000982
},
1001983
{
1002984
"type": "object",
1003-
"description": "A map of plugins for this step. Deprecated: please use the array syntax."
985+
"description": "A map of plugins for this step. Deprecated: please use the array syntax.",
986+
"deprecated": true
1004987
}
1005988
]
1006989
},
@@ -1152,9 +1135,6 @@
11521135
"wait": {
11531136
"description": "Waits for previous steps to pass before continuing",
11541137
"type": ["string", "null"]
1155-
},
1156-
"waiter": {
1157-
"type": ["string", "null"]
11581138
}
11591139
},
11601140
"additionalProperties": false

src/check_jsonschema/builtin_schemas/vendor/cloudbuild.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,13 @@
283283
"description": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked FAILURE.",
284284
"markdownDescription": "A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps. Files in the workspace matching specified paths globs will be uploaded to the specified Cloud Storage location using the builder service account's credentials. The location and generation of the uploaded objects will be stored in the Build resource's results field. If any objects fail to be pushed, the build is marked `FAILURE`."
285285
},
286+
"goModules": {
287+
"description": "Allows you to upload non-container Go modules to Go repositories in Artifact Registry.",
288+
"type": "array",
289+
"items": {
290+
"$ref": "#/definitions/GoModules"
291+
}
292+
},
286293
"mavenArtifacts": {
287294
"description": "Allows you to upload non-container Java artifacts to Maven repositories in Artifact Registry.",
288295
"type": "array",
@@ -324,6 +331,45 @@
324331
}
325332
}
326333
},
334+
"GoModules": {
335+
"description": "Allows you to upload non-container Go modules to Go repositories in Artifact Registry.",
336+
"type": "object",
337+
"additionalProperties": false,
338+
"properties": {
339+
"repositoryName": {
340+
"description": "The name of your Go repository in Artifact Registry.",
341+
"type": "string"
342+
},
343+
"repositoryLocation": {
344+
"description": "The location for your repository in Artifact Registry.",
345+
"type": "string"
346+
},
347+
"repositoryProject_id": {
348+
"description": "The ID of the Google Cloud project that contains your Artifact Registry Go repository.",
349+
"type": "string"
350+
},
351+
"sourcePath": {
352+
"description": "The path to the go.mod file in the build's workspace.",
353+
"type": "string"
354+
},
355+
"modulePath": {
356+
"description": "The local directory that contains the Go module to upload. It is recommended to use an absolute path for the value.",
357+
"type": "string"
358+
},
359+
"moduleVersion": {
360+
"description": "The version of the Go module.",
361+
"type": "string"
362+
}
363+
},
364+
"required": [
365+
"repositoryName",
366+
"repositoryLocation",
367+
"repositoryProject_id",
368+
"sourcePath",
369+
"modulePath",
370+
"moduleVersion"
371+
]
372+
},
327373
"MavenArtifacts": {
328374
"description": "Allows you to upload non-container Java artifacts to Maven repositories in Artifact Registry.",
329375
"type": "object",

src/check_jsonschema/builtin_schemas/vendor/compose-spec.json

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -657,19 +657,23 @@
657657

658658
"gpus": {
659659
"id": "#/definitions/gpus",
660-
"type": "array",
661-
"items": {
662-
"type": "object",
663-
"properties": {
664-
"capabilities": {"$ref": "#/definitions/list_of_strings"},
665-
"count": {"type": ["string", "integer"]},
666-
"device_ids": {"$ref": "#/definitions/list_of_strings"},
667-
"driver":{"type": "string"},
668-
"options":{"$ref": "#/definitions/list_or_dict"}
669-
},
670-
"additionalProperties": false,
671-
"patternProperties": {"^x-": {}}
672-
}
660+
"oneOf": [
661+
{"type": "string", "enum": ["all"]},
662+
{"type": "array",
663+
"items": {
664+
"type": "object",
665+
"properties": {
666+
"capabilities": {"$ref": "#/definitions/list_of_strings"},
667+
"count": {"type": ["string", "integer"]},
668+
"device_ids": {"$ref": "#/definitions/list_of_strings"},
669+
"driver":{"type": "string"},
670+
"options":{"$ref": "#/definitions/list_or_dict"}
671+
}
672+
},
673+
"additionalProperties": false,
674+
"patternProperties": {"^x-": {}}
675+
}
676+
]
673677
},
674678

675679
"include": {
@@ -743,6 +747,7 @@
743747
"patternProperties": {"^x-": {}}
744748
},
745749
"internal": {"type": ["boolean", "string"]},
750+
"enable_ipv4": {"type": ["boolean", "string"]},
746751
"enable_ipv6": {"type": ["boolean", "string"]},
747752
"attachable": {"type": ["boolean", "string"]},
748753
"labels": {"$ref": "#/definitions/list_or_dict"}

src/check_jsonschema/builtin_schemas/vendor/mergify.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1553,9 +1553,21 @@
15531553
"type": "boolean"
15541554
},
15551555
"branch-protection-review-decision": {
1556+
"anyOf": [
1557+
{
1558+
"enum": [
1559+
"APPROVED",
1560+
"CHANGES_REQUESTED",
1561+
"REVIEW_REQUIRED"
1562+
],
1563+
"type": "string"
1564+
},
1565+
{
1566+
"type": "null"
1567+
}
1568+
],
15561569
"description": "The review decision. This indicates if `CODEOWNERS` have reviewed the pull request when the `Require Review from Code Owners` branch protection rule is enabled.",
1557-
"title": "Branch protection review decision",
1558-
"type": "boolean"
1570+
"title": "Branch protection review decision"
15591571
},
15601572
"queue-frozen": {
15611573
"description": "Whether the pull request is in a queue that is frozen.",

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,11 @@
2222
"type": "string"
2323
}
2424
},
25+
"allowCommandTemplating": {
26+
"description": "Set this to `false` to disable template compilation for post-upgrade commands.",
27+
"type": "boolean",
28+
"default": true
29+
},
2530
"allowCustomCrateRegistries": {
2631
"description": "Set this to `true` to allow custom crate registries.",
2732
"type": "boolean",
@@ -32,16 +37,19 @@
3237
"type": "boolean",
3338
"default": false
3439
},
35-
"allowPostUpgradeCommandTemplating": {
36-
"description": "Set this to `false` to disable template compilation for post-upgrade commands.",
37-
"type": "boolean",
38-
"default": true
39-
},
4040
"allowScripts": {
4141
"description": "Set this to `true` if repositories are allowed to run install scripts.",
4242
"type": "boolean",
4343
"default": false
4444
},
45+
"allowedCommands": {
46+
"description": "A list of regular expressions that decide which commands are allowed in post-upgrade tasks.",
47+
"type": "array",
48+
"items": {
49+
"type": "string"
50+
},
51+
"default": []
52+
},
4553
"allowedEnv": {
4654
"description": "List of allowed patterns for environment variable names in repository env config.",
4755
"type": "array",
@@ -60,14 +68,6 @@
6068
"X-*"
6169
]
6270
},
63-
"allowedPostUpgradeCommands": {
64-
"description": "A list of regular expressions that decide which post-upgrade tasks are allowed.",
65-
"type": "array",
66-
"items": {
67-
"type": "string"
68-
},
69-
"default": []
70-
},
7171
"ansible": {
7272
"description": "Configuration object for the ansible manager",
7373
"type": "object",
@@ -1072,7 +1072,7 @@
10721072
"dockerSidecarImage": {
10731073
"description": "Change this value to override the default Renovate sidecar image.",
10741074
"type": "string",
1075-
"default": "ghcr.io/containerbase/sidecar:13.5.8"
1075+
"default": "ghcr.io/containerbase/sidecar:13.7.1"
10761076
},
10771077
"dockerUser": {
10781078
"description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
@@ -1521,6 +1521,17 @@
15211521
],
15221522
"default": null
15231523
},
1524+
"haskell-cabal": {
1525+
"description": "Configuration object for the haskell-cabal manager",
1526+
"type": "object",
1527+
"default": {
1528+
"fileMatch": [
1529+
"\\.cabal$"
1530+
],
1531+
"pinDigests": false
1532+
},
1533+
"$ref": "#"
1534+
},
15241535
"helm-requirements": {
15251536
"description": "Configuration object for the helm-requirements manager",
15261537
"type": "object",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
761ceff545736b65fabe577b8e7d06ceb5baa9d339f8faa0192cd3c3d85d5a11
1+
128a96e0088b34eb6c1bd591df82a32e1e6743a4bd7c38fc0f5819b2e1ef831a
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
10abf844b1f912e9798b5db134390d06289f756f6116d2435be3475c86b8205c
1+
e2444a4bcf66bdb777f954ff294800c94d1f1a54cf1104d2600d6bded0dd5b3b
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
e145038bdb404f2cf6d3eca3bf9b62434afcd7f7bea1ee611a1ff41d3b44ce68
1+
91ae91d24640d45634c9d4b5f4e3a5ce1b6b6da38bc06b27e2a04891f81f32da
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
d2afb9ba1f220ce421931d064c71a366e4e2c96f08bcb59e26d6b0c554cf21ba
1+
898c7fc37bca50fd7b79b4181e59a4485051c3cd30412200bdfdd7351848f963

0 commit comments

Comments
 (0)