Skip to content

Commit

Permalink
[vendor-schemas] automated update (#288)
Browse files Browse the repository at this point in the history
Co-authored-by: sirosen <sirosen@users.noreply.github.com>
Co-authored-by: Stephen Rosen <sirosen@globus.org>
  • Loading branch information
3 people committed Aug 8, 2023
1 parent 2d6f144 commit 96792fb
Show file tree
Hide file tree
Showing 9 changed files with 146 additions and 46 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Unreleased

.. vendor-insert-here
- Update vendored schemas (2023-07-18)
- Update vendored schemas (2023-08-08)
- Remove support for python3.7
- The minimum supported version of the `jsonschema` library is now `4.18.0`,
which introduces new `$ref` resolution behavior and fixes. That behavior is
Expand Down
140 changes: 103 additions & 37 deletions src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -703,6 +703,21 @@
}
]
},
"azure_key_vault": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"name"
],
"additionalProperties": false
},
"file": {
"type": "boolean",
"default": true,
Expand All @@ -713,8 +728,17 @@
"description": "Specifies the JWT variable that should be used to authenticate with Hashicorp Vault."
}
},
"required": [
"vault"
"anyOf": [
{
"required": [
"vault"
]
},
{
"required": [
"azure_key_vault"
]
}
],
"additionalProperties": false
}
Expand Down Expand Up @@ -1074,6 +1098,73 @@
}
]
},
"parallel": {
"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.",
"oneOf": [
{
"type": "integer",
"description": "Creates N instances of the job that run in parallel.",
"default": 0,
"minimum": 2,
"maximum": 200
},
{
"type": "object",
"properties": {
"matrix": {
"type": "array",
"description": "Defines different variables for jobs that are running in parallel.",
"items": {
"type": "object",
"description": "Defines the variables for a specific job.",
"additionalProperties": {
"type": [
"string",
"number",
"array"
]
}
},
"maxItems": 200
}
},
"additionalProperties": false,
"required": [
"matrix"
]
}
]
},
"parallel_matrix": {
"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)",
"oneOf": [
{
"type": "object",
"properties": {
"matrix": {
"type": "array",
"description": "Defines different variables for jobs that are running in parallel.",
"items": {
"type": "object",
"description": "Defines the variables for a specific job.",
"additionalProperties": {
"type": [
"string",
"number",
"array"
]
}
},
"maxItems": 200
}
},
"additionalProperties": false,
"required": [
"matrix"
]
}
]
},
"when": {
"markdownDescription": "Describes the conditions for when to run the job. Defaults to 'on_success'. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#when).",
"default": "on_success",
Expand Down Expand Up @@ -1494,6 +1585,9 @@
},
"optional": {
"type": "boolean"
},
"parallel": {
"$ref": "#/definitions/parallel_matrix"
}
},
"required": [
Expand All @@ -1512,6 +1606,9 @@
},
"artifacts": {
"type": "boolean"
},
"parallel": {
"$ref": "#/definitions/parallel_matrix"
}
},
"required": [
Expand All @@ -1534,6 +1631,9 @@
},
"artifacts": {
"type": "boolean"
},
"parallel": {
"$ref": "#/definitions/parallel_matrix"
}
},
"required": [
Expand Down Expand Up @@ -1747,41 +1847,7 @@
"$ref": "#/definitions/retry"
},
"parallel": {
"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.",
"oneOf": [
{
"type": "integer",
"description": "Creates N instances of the same job that run in parallel.",
"default": 0,
"minimum": 2,
"maximum": 200
},
{
"type": "object",
"properties": {
"matrix": {
"type": "array",
"description": "Defines different variables for jobs that are running in parallel.",
"items": {
"type": "object",
"description": "Defines environment variables for specific job.",
"additionalProperties": {
"type": [
"string",
"number",
"array"
]
}
},
"maxItems": 200
}
},
"additionalProperties": false,
"required": [
"matrix"
]
}
]
"$ref": "#/definitions/parallel"
},
"interruptible": {
"$ref": "#/definitions/interruptible"
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
030957f4d70668b51e17e2180342b3131d55c1df159669b80c65c26e2becfee1
c207b7443ef9c76fa5dfc9a17706a5115df3d387b958219b5c69580eb5773f7f
3 changes: 2 additions & 1 deletion src/check_jsonschema/builtin_schemas/vendor/readthedocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@
"3.10",
"3.11",
"miniconda3-4.7",
"mambaforge-4.10"
"mambaforge-4.10",
"mambaforge-22.9"
]
},
"nodejs": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
cc1a1e4c555fad33248025b5b2d8e530a61aecbea2fda7fab1232a84a0367e92
c5db973abdaba3d7dc74324caec710aa3621dd9e65636a56e5665529ca48a6c8
34 changes: 32 additions & 2 deletions src/check_jsonschema/builtin_schemas/vendor/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@
"default": null
},
"autodiscoverTopics": {
"description": "Filter the list of autodiscovered repositories by topics.",
"type": "array",
"items": {
"type": "string"
Expand Down Expand Up @@ -611,7 +612,8 @@
"description": "Format of the custom datasource",
"type": "string",
"enum": [
"json"
"json",
"plain"
],
"default": "json"
},
Expand Down Expand Up @@ -756,7 +758,7 @@
"dockerSidecarImage": {
"description": "Change this value to override the default Renovate sidecar image.",
"type": "string",
"default": "ghcr.io/containerbase/sidecar:9.5.2"
"default": "ghcr.io/containerbase/sidecar:9.8.7"
},
"dockerUser": {
"description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
Expand Down Expand Up @@ -1855,6 +1857,20 @@
}
]
},
"excludeRepositories": {
"description": "List of repositories to exclude (e.g. `[\"**/*-archived\"]`). Valid only within a `packageRules` object.",
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"matchBaseBranches": {
"description": "List of strings containing exact matches (e.g. `[\"main\"]`) and/or regex expressions (e.g. `[\"/^release/.*/\"]`). Valid only within a `packageRules` object.",
"oneOf": [
Expand Down Expand Up @@ -2040,6 +2056,20 @@
}
]
},
"matchRepositories": {
"description": "List of repositories to match (e.g. `[\"**/*-archived\"]`). Valid only within a `packageRules` object.",
"oneOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"matchSourceUrlPrefixes": {
"description": "A list of source URL prefixes to match against, commonly used to group monorepos or packages from the same organization.",
"oneOf": [
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
4382ac6a6e28715efd417bc07bb075be2f690352e13bbc263df316811011817a
817d4e69ce6c9931adc95ffcf549c9e1eb338c0c6201fa5364832a6391957a01
5 changes: 4 additions & 1 deletion src/check_jsonschema/builtin_schemas/vendor/travis.json
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,10 @@
"xcode13.1",
"xcode13.2",
"xcode13.3",
"xcode13.4"
"xcode13.4",
"xcode14",
"xcode14.1",
"xcode14.2"
]
},
"envVars": {
Expand Down
2 changes: 1 addition & 1 deletion src/check_jsonschema/builtin_schemas/vendor/travis.sha256
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1f4d86c500dbcd861d8d1e975e7eaa95493cf4d506ce04adcb685756e501c683
3d5f6dd2ccf9fbfcd30c875c4f154b6873be8231d8badf385888519f5aed6164

0 comments on commit 96792fb

Please sign in to comment.