Skip to content

Commit

Permalink
Merge pull request #461 from python-jsonschema/vendor-schemas-auto
Browse files Browse the repository at this point in the history
Update vendored schemas
  • Loading branch information
sirosen authored Jul 27, 2024
2 parents 592d617 + 5fbe8ba commit a23dd6d
Show file tree
Hide file tree
Showing 11 changed files with 236 additions and 15 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 (2024-07-21)

0.29.0
------

Expand Down
7 changes: 2 additions & 5 deletions src/check_jsonschema/builtin_schemas/vendor/circle-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -1386,16 +1386,13 @@
"macOSResourceClass": {
"description": "Amount of CPU and RAM allocated for each job. View [available resource classes](https://circleci.com/docs/configuration-reference/#macos-execution-environment).",
"type": "string",
"enum": [
"macos.x86.medium.gen2",
"macos.m1.medium.gen1",
"macos.m1.large.gen1"
]
"enum": ["macos.m1.medium.gen1", "macos.m1.large.gen1"]
},
"xcodeVersion": {
"description": "The version of Xcode to use. View [available versions](https://circleci.com/developer/machine/image/xcode)",
"type": "string",
"enum": [
"16.0.0",
"15.4.0",
"15.3.0",
"15.2.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,6 @@
"npm",
"nuget",
"pip",
"pip-compile",
"pub",
"swift",
"terraform"
Expand Down
47 changes: 47 additions & 0 deletions src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -880,6 +880,49 @@
}
]
},
"steps": {
"type": "array",
"items": {
"oneOf": [
{
"required": [
"step"
]
},
{
"required": [
"script"
]
}
],
"properties": {
"name": {
"type": "string",
"description": "Unique identifier for this step."
},
"step": {
"type": "string",
"description": "Reference to the step to invoke."
},
"env": {
"$ref": "#/definitions/globalVariables"
},
"inputs": {
"$ref": "#/definitions/inputs"
},
"script": {
"type": "string",
"description": "Shell script to evaluate."
}
},
"additionalProperties": false,
"type": "object",
"required": [
"name"
],
"description": "A single step invocation."
}
},
"optional_script": {
"oneOf": [
{
Expand Down Expand Up @@ -1742,6 +1785,10 @@
"$ref": "#/definitions/script",
"markdownDescription": "Shell scripts executed by the Runner. The only required property of jobs. Be careful with special characters (e.g. `:`, `{`, `}`, `&`) and use single or double quotes to avoid issues. [Learn More](https://docs.gitlab.com/ee/ci/yaml/#script)"
},
"run": {
"$ref": "#/definitions/steps",
"markdownDescription": "Specifies a list of steps to execute in the job. The `run` keyword is an alternative to `script` and allows for more advanced job configuration. Each step is an object that defines a single task or command. Use either `run` or `script` in a job, but not both, otherwise the pipeline will error out."
},
"stage": {
"description": "Define what stage the job will run in.",
"anyOf": [
Expand Down
13 changes: 12 additions & 1 deletion src/check_jsonschema/builtin_schemas/vendor/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@
"dockerSidecarImage": {
"description": "Change this value to override the default Renovate sidecar image.",
"type": "string",
"default": "ghcr.io/containerbase/sidecar:10.12.0"
"default": "ghcr.io/containerbase/sidecar:10.15.6"
},
"dockerUser": {
"description": "Set the `UID` and `GID` for Docker-based binaries if you use `binarySource=docker`.",
Expand Down Expand Up @@ -1989,6 +1989,16 @@
},
"$ref": "#"
},
"mise": {
"description": "Configuration object for the mise manager",
"type": "object",
"default": {
"fileMatch": [
"(^|/)\\.mise\\.toml$"
]
},
"$ref": "#"
},
"mix": {
"description": "Configuration object for the mix manager",
"type": "object",
Expand Down Expand Up @@ -2760,6 +2770,7 @@
"gomodTidy1.17",
"gomodTidyE",
"gomodUpdateImportPaths",
"gomodSkipVendor",
"helmUpdateSubChartArchives",
"npmDedupe",
"pnpmDedupe",
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ee053865b24ae25f461058a1272d578a6022926fa75e8fd95894c09ec3ebdb5d
2463b456c46789f2ec2f6c9beaca294d10ee7520e021aa775fd1854eb608dd53
Original file line number Diff line number Diff line change
@@ -1 +1 @@
f0cc3134ba2ed762c69b443b99dd0becbb1cb38cf8d3b8e24a698e8e402dbade
1faf572ced1c1dea55a27128d761e32b3b6911e47daa3da003f2db66d8ef71be
Original file line number Diff line number Diff line change
@@ -1 +1 @@
03fdf88d444e16e704decde1792a9eb643c240f327cb14bc9a81c11ee0870946
9546a05c6ab921272786539dddd21fde7d4f56dd65e47bf8ef1254d387685a70
Original file line number Diff line number Diff line change
@@ -1 +1 @@
64b750a1cd00ea7a3e4a05793a739c9ef738d1c2a810d4a9f96d739873c75dd7
4100bea98ee657c788cdde5ef2ad7eeb769ccb6ee3aef9dd10228b397d3507f5
Original file line number Diff line number Diff line change
@@ -1 +1 @@
04a2cb3dd3eb0d119d820c9bc71e1560a2687eda1f2fdda2e4e365aa0ca0dc84
909b82bf1b1a536f35bc4ea51a0dff4c1437d76bc8db78645b3a13d00cbd7e49
171 changes: 168 additions & 3 deletions src/check_jsonschema/builtin_schemas/vendor/woodpecker-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -304,10 +304,24 @@
}
},
"step": {
"description": "A step of your workflow executes either arbitrary commands or uses a plugin. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
"oneOf": [
{
"$ref": "#/definitions/commands_step"
},
{
"$ref": "#/definitions/entrypoint_step"
},
{
"$ref": "#/definitions/plugin_step"
}
]
},
"commands_step": {
"description": "Every step of your pipeline executes arbitrary commands inside a specified docker container. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
"type": "object",
"additionalProperties": false,
"required": ["image"],
"required": ["image", "commands"],
"properties": {
"name": {
"description": "The name of the step. Can be used if using the array style steps list.",
Expand All @@ -334,8 +348,91 @@
"secrets": {
"$ref": "#/definitions/step_secrets"
},
"settings": {
"$ref": "#/definitions/step_settings"
"when": {
"$ref": "#/definitions/step_when"
},
"volumes": {
"$ref": "#/definitions/step_volumes"
},
"group": {
"description": "deprecated, use depends_on",
"type": "string"
},
"depends_on": {
"description": "Execute a step after another step has finished.",
"oneOf": [
{
"type": "array",
"minLength": 1,
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"detach": {
"description": "Detach a step to run in background until pipeline finishes. Read more: https://woodpecker-ci.org/docs/usage/services#detachment",
"type": "boolean"
},
"failure": {
"description": "How to handle the failure of this step. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#failure",
"type": "string",
"enum": ["fail", "ignore"],
"default": "fail"
},
"backend_options": {
"$ref": "#/definitions/step_backend_options"
},
"entrypoint": {
"description": "Defines container entrypoint.",
"oneOf": [
{
"type": "array",
"minLength": 1,
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
}
}
},
"entrypoint_step": {
"description": "Every step of your pipeline executes arbitrary commands inside a specified docker container. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#steps",
"type": "object",
"additionalProperties": false,
"required": ["image", "entrypoint"],
"properties": {
"name": {
"description": "The name of the step. Can be used if using the array style steps list.",
"type": "string"
},
"image": {
"$ref": "#/definitions/step_image"
},
"privileged": {
"$ref": "#/definitions/step_privileged"
},
"pull": {
"$ref": "#/definitions/step_pull"
},
"commands": {
"$ref": "#/definitions/step_commands"
},
"environment": {
"$ref": "#/definitions/step_environment"
},
"directory": {
"$ref": "#/definitions/step_directory"
},
"secrets": {
"$ref": "#/definitions/step_secrets"
},
"when": {
"$ref": "#/definitions/step_when"
Expand Down Expand Up @@ -392,6 +489,74 @@
}
}
},
"plugin_step": {
"description": "Plugins let you execute predefined functions in a more secure context. Read more: https://woodpecker-ci.org/docs/usage/plugins/overview",
"type": "object",
"additionalProperties": false,
"required": ["image"],
"properties": {
"name": {
"description": "The name of the step. Can be used if using the array style steps list.",
"type": "string"
},
"image": {
"$ref": "#/definitions/step_image"
},
"privileged": {
"$ref": "#/definitions/step_privileged"
},
"pull": {
"$ref": "#/definitions/step_pull"
},
"directory": {
"$ref": "#/definitions/step_directory"
},
"secrets": {
"$ref": "#/definitions/step_secrets"
},
"settings": {
"$ref": "#/definitions/step_settings"
},
"when": {
"$ref": "#/definitions/step_when"
},
"volumes": {
"$ref": "#/definitions/step_volumes"
},
"group": {
"description": "deprecated, use depends_on",
"type": "string"
},
"depends_on": {
"description": "Execute a step after another step has finished.",
"oneOf": [
{
"type": "array",
"minLength": 1,
"items": {
"type": "string"
}
},
{
"type": "string"
}
]
},
"detach": {
"description": "Detach a step to run in background until pipeline finishes. Read more: https://woodpecker-ci.org/docs/usage/services#detachment",
"type": "boolean"
},
"failure": {
"description": "How to handle the failure of this step. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#failure",
"type": "string",
"enum": ["fail", "ignore"],
"default": "fail"
},
"backend_options": {
"$ref": "#/definitions/step_backend_options"
}
}
},
"step_when": {
"description": "Steps can be skipped based on conditions. Read more: https://woodpecker-ci.org/docs/usage/workflow-syntax#when---conditional-execution",
"oneOf": [
Expand Down

0 comments on commit a23dd6d

Please # to comment.