Skip to content

Commit 96792fb

Browse files
[vendor-schemas] automated update (#288)
Co-authored-by: sirosen <[email protected]> Co-authored-by: Stephen Rosen <[email protected]>
1 parent 2d6f144 commit 96792fb

File tree

9 files changed

+146
-46
lines changed

9 files changed

+146
-46
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 (2023-07-18)
13+
- Update vendored schemas (2023-08-08)
1414
- Remove support for python3.7
1515
- The minimum supported version of the `jsonschema` library is now `4.18.0`,
1616
which introduces new `$ref` resolution behavior and fixes. That behavior is

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

Lines changed: 103 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -703,6 +703,21 @@
703703
}
704704
]
705705
},
706+
"azure_key_vault": {
707+
"type": "object",
708+
"properties": {
709+
"name": {
710+
"type": "string"
711+
},
712+
"version": {
713+
"type": "string"
714+
}
715+
},
716+
"required": [
717+
"name"
718+
],
719+
"additionalProperties": false
720+
},
706721
"file": {
707722
"type": "boolean",
708723
"default": true,
@@ -713,8 +728,17 @@
713728
"description": "Specifies the JWT variable that should be used to authenticate with Hashicorp Vault."
714729
}
715730
},
716-
"required": [
717-
"vault"
731+
"anyOf": [
732+
{
733+
"required": [
734+
"vault"
735+
]
736+
},
737+
{
738+
"required": [
739+
"azure_key_vault"
740+
]
741+
}
718742
],
719743
"additionalProperties": false
720744
}
@@ -1074,6 +1098,73 @@
10741098
}
10751099
]
10761100
},
1101+
"parallel": {
1102+
"description": "Splits up a single job into multiple that run in parallel. Provides `CI_NODE_INDEX` and `CI_NODE_TOTAL` environment variables to the jobs.",
1103+
"oneOf": [
1104+
{
1105+
"type": "integer",
1106+
"description": "Creates N instances of the job that run in parallel.",
1107+
"default": 0,
1108+
"minimum": 2,
1109+
"maximum": 200
1110+
},
1111+
{
1112+
"type": "object",
1113+
"properties": {
1114+
"matrix": {
1115+
"type": "array",
1116+
"description": "Defines different variables for jobs that are running in parallel.",
1117+
"items": {
1118+
"type": "object",
1119+
"description": "Defines the variables for a specific job.",
1120+
"additionalProperties": {
1121+
"type": [
1122+
"string",
1123+
"number",
1124+
"array"
1125+
]
1126+
}
1127+
},
1128+
"maxItems": 200
1129+
}
1130+
},
1131+
"additionalProperties": false,
1132+
"required": [
1133+
"matrix"
1134+
]
1135+
}
1136+
]
1137+
},
1138+
"parallel_matrix": {
1139+
"description": "Use the `needs:parallel:matrix` keyword to specify parallelized jobs needed to be completed for the job to run. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#needsparallelmatrix)",
1140+
"oneOf": [
1141+
{
1142+
"type": "object",
1143+
"properties": {
1144+
"matrix": {
1145+
"type": "array",
1146+
"description": "Defines different variables for jobs that are running in parallel.",
1147+
"items": {
1148+
"type": "object",
1149+
"description": "Defines the variables for a specific job.",
1150+
"additionalProperties": {
1151+
"type": [
1152+
"string",
1153+
"number",
1154+
"array"
1155+
]
1156+
}
1157+
},
1158+
"maxItems": 200
1159+
}
1160+
},
1161+
"additionalProperties": false,
1162+
"required": [
1163+
"matrix"
1164+
]
1165+
}
1166+
]
1167+
},
10771168
"when": {
10781169
"markdownDescription": "Describes the conditions for when to run the job. Defaults to 'on_success'. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#when).",
10791170
"default": "on_success",
@@ -1494,6 +1585,9 @@
14941585
},
14951586
"optional": {
14961587
"type": "boolean"
1588+
},
1589+
"parallel": {
1590+
"$ref": "#/definitions/parallel_matrix"
14971591
}
14981592
},
14991593
"required": [
@@ -1512,6 +1606,9 @@
15121606
},
15131607
"artifacts": {
15141608
"type": "boolean"
1609+
},
1610+
"parallel": {
1611+
"$ref": "#/definitions/parallel_matrix"
15151612
}
15161613
},
15171614
"required": [
@@ -1534,6 +1631,9 @@
15341631
},
15351632
"artifacts": {
15361633
"type": "boolean"
1634+
},
1635+
"parallel": {
1636+
"$ref": "#/definitions/parallel_matrix"
15371637
}
15381638
},
15391639
"required": [
@@ -1747,41 +1847,7 @@
17471847
"$ref": "#/definitions/retry"
17481848
},
17491849
"parallel": {
1750-
"description": "Parallel will split up a single job into several, and provide `CI_NODE_INDEX` and `CI_NODE_TOTAL` environment variables for the running jobs.",
1751-
"oneOf": [
1752-
{
1753-
"type": "integer",
1754-
"description": "Creates N instances of the same job that run in parallel.",
1755-
"default": 0,
1756-
"minimum": 2,
1757-
"maximum": 200
1758-
},
1759-
{
1760-
"type": "object",
1761-
"properties": {
1762-
"matrix": {
1763-
"type": "array",
1764-
"description": "Defines different variables for jobs that are running in parallel.",
1765-
"items": {
1766-
"type": "object",
1767-
"description": "Defines environment variables for specific job.",
1768-
"additionalProperties": {
1769-
"type": [
1770-
"string",
1771-
"number",
1772-
"array"
1773-
]
1774-
}
1775-
},
1776-
"maxItems": 200
1777-
}
1778-
},
1779-
"additionalProperties": false,
1780-
"required": [
1781-
"matrix"
1782-
]
1783-
}
1784-
]
1850+
"$ref": "#/definitions/parallel"
17851851
},
17861852
"interruptible": {
17871853
"$ref": "#/definitions/interruptible"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
030957f4d70668b51e17e2180342b3131d55c1df159669b80c65c26e2becfee1
1+
c207b7443ef9c76fa5dfc9a17706a5115df3d387b958219b5c69580eb5773f7f

src/check_jsonschema/builtin_schemas/vendor/readthedocs.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@
177177
"3.10",
178178
"3.11",
179179
"miniconda3-4.7",
180-
"mambaforge-4.10"
180+
"mambaforge-4.10",
181+
"mambaforge-22.9"
181182
]
182183
},
183184
"nodejs": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
cc1a1e4c555fad33248025b5b2d8e530a61aecbea2fda7fab1232a84a0367e92
1+
c5db973abdaba3d7dc74324caec710aa3621dd9e65636a56e5665529ca48a6c8

src/check_jsonschema/builtin_schemas/vendor/renovate.json

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@
142142
"default": null
143143
},
144144
"autodiscoverTopics": {
145+
"description": "Filter the list of autodiscovered repositories by topics.",
145146
"type": "array",
146147
"items": {
147148
"type": "string"
@@ -611,7 +612,8 @@
611612
"description": "Format of the custom datasource",
612613
"type": "string",
613614
"enum": [
614-
"json"
615+
"json",
616+
"plain"
615617
],
616618
"default": "json"
617619
},
@@ -756,7 +758,7 @@
756758
"dockerSidecarImage": {
757759
"description": "Change this value to override the default Renovate sidecar image.",
758760
"type": "string",
759-
"default": "ghcr.io/containerbase/sidecar:9.5.2"
761+
"default": "ghcr.io/containerbase/sidecar:9.8.7"
760762
},
761763
"dockerUser": {
762764
"description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
@@ -1855,6 +1857,20 @@
18551857
}
18561858
]
18571859
},
1860+
"excludeRepositories": {
1861+
"description": "List of repositories to exclude (e.g. `[\"**/*-archived\"]`). Valid only within a `packageRules` object.",
1862+
"oneOf": [
1863+
{
1864+
"type": "array",
1865+
"items": {
1866+
"type": "string"
1867+
}
1868+
},
1869+
{
1870+
"type": "string"
1871+
}
1872+
]
1873+
},
18581874
"matchBaseBranches": {
18591875
"description": "List of strings containing exact matches (e.g. `[\"main\"]`) and/or regex expressions (e.g. `[\"/^release/.*/\"]`). Valid only within a `packageRules` object.",
18601876
"oneOf": [
@@ -2040,6 +2056,20 @@
20402056
}
20412057
]
20422058
},
2059+
"matchRepositories": {
2060+
"description": "List of repositories to match (e.g. `[\"**/*-archived\"]`). Valid only within a `packageRules` object.",
2061+
"oneOf": [
2062+
{
2063+
"type": "array",
2064+
"items": {
2065+
"type": "string"
2066+
}
2067+
},
2068+
{
2069+
"type": "string"
2070+
}
2071+
]
2072+
},
20432073
"matchSourceUrlPrefixes": {
20442074
"description": "A list of source URL prefixes to match against, commonly used to group monorepos or packages from the same organization.",
20452075
"oneOf": [
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4382ac6a6e28715efd417bc07bb075be2f690352e13bbc263df316811011817a
1+
817d4e69ce6c9931adc95ffcf549c9e1eb338c0c6201fa5364832a6391957a01

src/check_jsonschema/builtin_schemas/vendor/travis.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -538,7 +538,10 @@
538538
"xcode13.1",
539539
"xcode13.2",
540540
"xcode13.3",
541-
"xcode13.4"
541+
"xcode13.4",
542+
"xcode14",
543+
"xcode14.1",
544+
"xcode14.2"
542545
]
543546
},
544547
"envVars": {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1f4d86c500dbcd861d8d1e975e7eaa95493cf4d506ce04adcb685756e501c683
1+
3d5f6dd2ccf9fbfcd30c875c4f154b6873be8231d8badf385888519f5aed6164

0 commit comments

Comments
 (0)