Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ Unreleased

.. vendor-insert-here
- Update vendored schemas: circle-ci, compose-spec, dependabot, meltano, mergify,
renovate, snapcraft (2025-11-02)
- Update vendored schemas: bitbucket-pipelines, buildkite, circle-ci, compose-spec,
dependabot, gitlab-ci, meltano, mergify, renovate, snapcraft (2025-11-11)

0.34.1
------
Expand Down

Large diffs are not rendered by default.

33 changes: 33 additions & 0 deletions src/check_jsonschema/builtin_schemas/vendor/buildkite.json
Original file line number Diff line number Diff line change
Expand Up @@ -520,6 +520,33 @@
"description": "Whether this step should be skipped. Passing a string provides a reason for skipping this command",
"examples": [true, false, "My reason"]
},
"secrets": {
"description": "A list of secret names or a mapping of environment variable names to secret names to be made available to the build or step",
"anyOf": [
{
"type": "array",
"description": "A list of secret names to be made available as environment variables",
"items": {
"type": "string"
},
"examples": [["API_ACCESS_TOKEN"], ["API_KEY", "DATABASE_PASSWORD"]]
},
{
"type": "object",
"description": "A mapping of custom environment variable names to Buildkite secret names",
"additionalProperties": {
"type": "string"
},
"examples": [
{ "MY_APP_ACCESS_TOKEN": "API_ACCESS_TOKEN" },
{
"CUSTOM_API_KEY": "API_KEY",
"CUSTOM_DB_PASSWORD": "DATABASE_PASSWORD"
}
]
}
]
},
"softFailObject": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1068,6 +1095,9 @@
"type": "integer",
"description": "Priority of the job, higher priorities are assigned to agents",
"examples": [-1, 1]
},
"secrets": {
"$ref": "#/definitions/secrets"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -1352,6 +1382,9 @@
"image": {
"$ref": "#/definitions/image"
},
"secrets": {
"$ref": "#/definitions/secrets"
},
"steps": {
"$ref": "#/definitions/pipelineSteps"
}
Expand Down
245 changes: 167 additions & 78 deletions src/check_jsonschema/builtin_schemas/vendor/gitlab-ci.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"markdownDescription": "Specification for pipeline configuration. Must be declared at the top of a configuration file, in a header section separated from the rest of the configuration with `---`. [Learn More](https://docs.gitlab.com/ci/yaml/#spec).",
"properties": {
"inputs": {
"$ref": "#/definitions/inputParameters"
"$ref": "#/definitions/configInputs"
}
},
"additionalProperties": false
Expand Down Expand Up @@ -403,75 +403,184 @@
}
]
},
"inputParameters": {
"baseInput": {
"type": "object",
"markdownDescription": "Define parameters that can be populated in reusable CI/CD configuration files when added to a pipeline. [Learn More](https://docs.gitlab.com/ci/inputs/).",
"properties": {
"type": {
"type": "string",
"markdownDescription": "Input type. Defaults to 'string' when not specified.",
"enum": [
"array",
"boolean",
"number",
"string"
],
"default": "string"
},
"description": {
"type": "string",
"markdownDescription": "Human-readable explanation of the parameter.",
"maxLength": 1024
},
"options": {
"type": "array",
"markdownDescription": "List of allowed values for this input.",
"items": {
"oneOf": [
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
}
]
}
},
"regex": {
"type": "string",
"markdownDescription": "Regular expression that string values must match."
},
"default": {
"markdownDescription": "Default value for this input."
}
},
"additionalProperties": false
},
"configInputs": {
"type": "object",
"markdownDescription": "Define input parameters for reusable CI/CD configuration. Config inputs can optionally specify defaults. [Learn More](https://docs.gitlab.com/ci/inputs/).",
"patternProperties": {
".*": {
"markdownDescription": "**Input Configuration**\n\nAvailable properties:\n- `type`: string (default), array, boolean, or number\n- `description`: Human-readable explanation of the parameter (supports Markdown)\n- `options`: List of allowed values\n- `default`: Value to use when not specified (makes input optional)\n- `regex`: Pattern that string values must match",
"oneOf": [
{
"type": "object",
"properties": {
"type": {
"type": "string",
"markdownDescription": "Force a specific input type. Defaults to 'string' when not specified. [Learn More](https://docs.gitlab.com/ci/inputs/#input-types).",
"enum": [
"array",
"boolean",
"number",
"string"
],
"default": "string"
"allOf": [
{
"$ref": "#/definitions/baseInput"
},
"description": {
"type": "string",
"markdownDescription": "Give a description to a specific input. The description does not affect the input, but can help people understand the input details or expected values. Supports markdown.",
"maxLength": 1024
{
"properties": {
"rules": {
"type": "array",
"markdownDescription": "Conditional rules for this input.",
"items": {
"type": "object"
}
}
}
},
"options": {
"type": "array",
"markdownDescription": "Specify a list of allowed values for an input.",
"items": {
"oneOf": [
{
"type": "string"
{
"allOf": [
{
"if": {
"properties": {
"type": {
"enum": ["string"]
}
}
},
{
"type": "number"
"then": {
"properties": {
"default": {
"type": ["string", "null"]
}
}
}
},
{
"if": {
"properties": {
"type": {
"enum": ["number"]
}
}
},
{
"type": "boolean"
"then": {
"properties": {
"default": {
"type": ["number", "null"]
}
}
}
]
}
},
"regex": {
"type": "string",
"markdownDescription": "Specify a regular expression that the input must match. Only impacts inputs with a `type` of `string`."
},
"default": {
"markdownDescription": "Define default values for inputs when not specified. When you specify a default, the inputs are no longer mandatory."
},
{
"if": {
"properties": {
"type": {
"enum": ["boolean"]
}
}
},
"then": {
"properties": {
"default": {
"type": ["boolean", "null"]
}
}
}
},
{
"if": {
"properties": {
"type": {
"enum": ["array"]
}
}
},
"then": {
"properties": {
"default": {
"oneOf": [
{
"type": "array"
},
{
"type": "null"
}
]
}
}
}
}
]
}
},
]
},
{
"type": "null"
}
]
}
}
},
"jobInputs": {
"type": "object",
"markdownDescription": "Define input parameters for a job. Job inputs must always include a `default` value. [Learn More](https://docs.gitlab.com/ci/yaml/#inputs).",
"patternProperties": {
".*": {
"allOf": [
{
"$ref": "#/definitions/baseInput"
},
{
"required": ["default"]
},
{
"allOf": [
{
"if": {
"properties": {
"type": {
"enum": [
"string"
]
"enum": ["string"]
}
}
},
"then": {
"properties": {
"default": {
"type": [
"string",
"null"
]
"type": "string"
}
}
}
Expand All @@ -480,19 +589,14 @@
"if": {
"properties": {
"type": {
"enum": [
"number"
]
"enum": ["number"]
}
}
},
"then": {
"properties": {
"default": {
"type": [
"number",
"null"
]
"type": "number"
}
}
}
Expand All @@ -501,19 +605,14 @@
"if": {
"properties": {
"type": {
"enum": [
"boolean"
]
"enum": ["boolean"]
}
}
},
"then": {
"properties": {
"default": {
"type": [
"boolean",
"null"
]
"type": "boolean"
}
}
}
Expand All @@ -522,32 +621,19 @@
"if": {
"properties": {
"type": {
"enum": [
"array"
]
"enum": ["array"]
}
}
},
"then": {
"properties": {
"default": {
"oneOf": [
{
"type": "array"
},
{
"type": "null"
}
]
"type": "array"
}
}
}
}
],
"additionalProperties": false
},
{
"type": "null"
]
}
]
}
Expand Down Expand Up @@ -2089,6 +2175,9 @@
"identity": {
"$ref": "#/definitions/identity"
},
"inputs": {
"$ref": "#/definitions/jobInputs"
},
"secrets": {
"$ref": "#/definitions/secrets"
},
Expand Down
Loading
Loading