Skip to content

Commit

Permalink
[vendor-schemas] automated update (#524)
Browse files Browse the repository at this point in the history
Co-authored-by: sirosen <[email protected]>
  • Loading branch information
github-actions[bot] and sirosen authored Feb 20, 2025
1 parent f41a2c6 commit 534c90d
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 27 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ Unreleased

.. vendor-insert-here
- Update vendored schemas (2025-02-16)

0.31.1
------

Expand Down
28 changes: 16 additions & 12 deletions src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://gitlab.com/.gitlab-ci.yml",
"markdownDescription": "Gitlab has a built-in solution for doing CI called Gitlab CI. It is configured by supplying a file called `.gitlab-ci.yml`, which will list all the jobs that are going to run for the project. A full list of all options can be found [here](https://docs.gitlab.com/ee/ci/yaml). [Learn More](https://docs.gitlab.com/ee/ci/index.html).",
"markdownDescription": "Gitlab has a built-in solution for doing CI called Gitlab CI. It is configured by supplying a file called `.gitlab-ci.yml`, which will list all the jobs that are going to run for the project. A full list of all options can be found [here](https://docs.gitlab.com/ee/ci/yaml/). [Learn More](https://docs.gitlab.com/ee/ci/).",
"type": "object",
"properties": {
"$schema": {
Expand Down Expand Up @@ -433,7 +433,7 @@
"additionalProperties": false,
"properties": {
"project": {
"description": "Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ee/ci/yaml/index.html#includefile).",
"description": "Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ee/ci/yaml/#includefile).",
"type": "string",
"pattern": "(?:\\S/\\S|\\$\\S+)"
},
Expand Down Expand Up @@ -638,7 +638,7 @@
},
"entrypoint": {
"type": "array",
"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)",
"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/#available-settings-for-services)",
"minItems": 1,
"items": {
"type": "string"
Expand Down Expand Up @@ -691,20 +691,20 @@
},
"command": {
"type": "array",
"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)",
"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/#available-settings-for-services)",
"minItems": 1,
"items": {
"type": "string"
}
},
"alias": {
"type": "string",
"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)",
"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/#available-settings-for-services)",
"minLength": 1
},
"variables": {
"$ref": "#/definitions/jobVariables",
"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)"
"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/#available-settings-for-services)"
}
},
"required": [
Expand Down Expand Up @@ -1174,7 +1174,7 @@
}
},
"rulesVariables": {
"markdownDescription": "Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#rulesvariables).",
"markdownDescription": "Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#rulesvariables).",
"type": "object",
"patternProperties": {
".*": {
Expand Down Expand Up @@ -1279,7 +1279,7 @@
},
"timeout": {
"type": "string",
"markdownDescription": "Allows you to configure a timeout for a specific job (e.g. `1 minute`, `1h 30m 12s`). [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#timeout).",
"markdownDescription": "Allows you to configure a timeout for a specific job (e.g. `1 minute`, `1h 30m 12s`). [Learn More](https://docs.gitlab.com/ee/ci/yaml/#timeout).",
"minLength": 1
},
"start_in": {
Expand All @@ -1288,7 +1288,7 @@
"minLength": 1
},
"rulesNeeds": {
"markdownDescription": "Use needs in rules to update job needs for specific conditions. When a condition matches a rule, the job's needs configuration is completely replaced with the needs in the rule. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#rulesneeds).",
"markdownDescription": "Use needs in rules to update job needs for specific conditions. When a condition matches a rule, the job's needs configuration is completely replaced with the needs in the rule. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#rulesneeds).",
"type": "array",
"items": {
"oneOf": [
Expand Down Expand Up @@ -2152,7 +2152,7 @@
"description": "Limit job concurrency. Can be used to ensure that the Runner will not run certain jobs simultaneously."
},
"trigger": {
"markdownDescription": "Trigger allows you to define downstream pipeline trigger. When a job created from trigger definition is started by GitLab, a downstream pipeline gets created. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#trigger).",
"markdownDescription": "Trigger allows you to define downstream pipeline trigger. When a job created from trigger definition is started by GitLab, a downstream pipeline gets created. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#trigger).",
"oneOf": [
{
"type": "object",
Expand Down Expand Up @@ -2376,7 +2376,7 @@
}
},
{
"markdownDescription": "Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ee/ci/yaml/index.html#trigger).",
"markdownDescription": "Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#trigger).",
"type": "string",
"pattern": "(?:\\S/\\S|\\$\\S+)"
}
Expand Down Expand Up @@ -2430,7 +2430,7 @@
"additionalProperties": false
},
"publish": {
"description": "A path to a directory that contains the files to be published with Pages",
"description": "Deprecated. Use `pages.publish` instead. A path to a directory that contains the files to be published with Pages.",
"type": "string"
},
"pages": {
Expand All @@ -2446,6 +2446,10 @@
"expire_in": {
"type": "string",
"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)."
},
"publish": {
"type": "string",
"markdownDescription": "A path to a directory that contains the files to be published with Pages."
}
}
},
Expand Down
49 changes: 43 additions & 6 deletions src/check_jsonschema/builtin_schemas/vendor/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -860,6 +860,7 @@
"description": "Custom manager to use. Valid only within a `customManagers` object.",
"type": "string",
"enum": [
"jsonata",
"regex"
]
},
Expand All @@ -879,12 +880,19 @@
"description": "Optional `extractVersion` for extracted dependencies. Valid only within a `customManagers` object.",
"type": "string"
},
"fileFormat": {
"description": "It specifies the syntax of the package file being managed by the custom JSONata manager.",
"type": "string",
"enum": [
"json",
"yaml"
]
},
"matchStrings": {
"description": "Regex capture rule to use. Valid only within a `customManagers` object.",
"description": "Queries to use. Valid only within a `customManagers` object.",
"type": "array",
"items": {
"type": "string",
"format": "regex"
"type": "string"
}
},
"matchStringsStrategy": {
Expand Down Expand Up @@ -1024,6 +1032,16 @@
"type": "boolean",
"default": false
},
"devbox": {
"description": "Configuration object for the devbox manager",
"type": "object",
"default": {
"fileMatch": [
"(^|/)devbox\\.json$"
]
},
"$ref": "#"
},
"devcontainer": {
"description": "Configuration object for the devcontainer manager",
"type": "object",
Expand Down Expand Up @@ -1072,7 +1090,7 @@
"dockerSidecarImage": {
"description": "Change this value to override the default Renovate sidecar image.",
"type": "string",
"default": "ghcr.io/containerbase/sidecar:13.7.1"
"default": "ghcr.io/containerbase/sidecar:13.7.2"
},
"dockerUser": {
"description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
Expand Down Expand Up @@ -1908,6 +1926,14 @@
},
"$ref": "#"
},
"jsonata": {
"description": "Configuration object for the jsonata manager",
"type": "object",
"default": {
"pinDigests": false
},
"$ref": "#"
},
"jsonnet-bundler": {
"description": "Configuration object for the jsonnet-bundler manager",
"type": "object",
Expand Down Expand Up @@ -2191,7 +2217,7 @@
"fileMatch": [
"(^|/)flake\\.nix$"
],
"commitMessageTopic": "nixpkgs",
"commitMessageTopic": "nix",
"commitMessageExtra": "to {{newValue}}",
"enabled": false
},
Expand All @@ -2213,7 +2239,8 @@
"type": "object",
"default": {
"fileMatch": [
"(^|/)package\\.json$"
"(^|/)package\\.json$",
"(^|/)pnpm-workspace\\.yaml$"
],
"digest": {
"prBodyDefinitions": {
Expand Down Expand Up @@ -3165,6 +3192,15 @@
},
"$ref": "#"
},
"replacementApproach": {
"description": "Select whether to perform a direct replacement or alias replacement.",
"type": "string",
"enum": [
"replace",
"alias"
],
"default": "replace"
},
"reportPath": {
"description": "Path to where the file should be written. In case of `s3` this has to be a full S3 URI.",
"type": [
Expand Down Expand Up @@ -3635,6 +3671,7 @@
"oneOf": [
{
"enum": [
"aws-eks-addon",
"aws-machine-image",
"azure-rest-api",
"bazel-module",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
da5b6762e83b0d89dd145d0f9b8a25ef068b790577304df65d2d2bd5a4e0b21f
f48b339b4ea94722060efb40d884ce2089a48b6732ef666538958d08102f45a2
Original file line number Diff line number Diff line change
@@ -1 +1 @@
86655aecc05722842a57425aee1c82c6cfb120fe919940298355e72163c76e8e
b927d2478e21f6bc423771ad88943933c9b6af2421dc29de4b247c93f0ec9555
Original file line number Diff line number Diff line change
@@ -1 +1 @@
07850196eb7ee8c4f01f328d1a4345d2a4981b0086b33d1fd014dfeb3cc4316e
cbdc42a5f4ff756568f95391688075622327e790cdcb669719cec3e192923878
20 changes: 14 additions & 6 deletions src/check_jsonschema/builtin_schemas/vendor/woodpecker-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -762,15 +762,23 @@
"description": "A target which a native Kubernetes secret maps to.",
"oneOf": [
{
"env": {
"description": "The name of the environment variable which secret maps to.",
"type": "string"
"type": "object",
"additionalProperties": false,
"properties": {
"env": {
"description": "The name of the environment variable which secret maps to.",
"type": "string"
}
}
},
{
"file": {
"description": "The filename (path) which secret maps to.",
"type": "string"
"type": "object",
"additionalProperties": false,
"properties": {
"file": {
"description": "The filename (path) which secret maps to.",
"type": "string"
}
}
}
]
Expand Down

0 comments on commit 534c90d

Please sign in to comment.