[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$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/ci/yaml/). [Learn More](https://docs.gitlab.com/ci/).","type":"object","properties":{"$schema":{"type":"string","format":"uri"},"spec":{"type":"object","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"}},"additionalProperties":false},"image":{"$ref":"#/definitions/image","markdownDescription":"Defining `image` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},"services":{"$ref":"#/definitions/services","markdownDescription":"Defining `services` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},"before_script":{"$ref":"#/definitions/before_script","markdownDescription":"Defining `before_script` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},"after_script":{"$ref":"#/definitions/after_script","markdownDescription":"Defining `after_script` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},"variables":{"$ref":"#/definitions/globalVariables"},"cache":{"$ref":"#/definitions/cache","markdownDescription":"Defining `cache` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script)."},"!reference":{"$ref":"#/definitions/!reference"},"default":{"type":"object","properties":{"after_script":{"$ref":"#/definitions/after_script"},"artifacts":{"$ref":"#/definitions/artifacts"},"before_script":{"$ref":"#/definitions/before_script"},"hooks":{"$ref":"#/definitions/hooks"},"cache":{"$ref":"#/definitions/cache"},"image":{"$ref":"#/definitions/image"},"interruptible":{"$ref":"#/definitions/interruptible"},"id_tokens":{"$ref":"#/definitions/id_tokens"},"identity":{"$ref":"#/definitions/identity"},"retry":{"$ref":"#/definitions/retry"},"services":{"$ref":"#/definitions/services"},"tags":{"$ref":"#/definitions/tags"},"timeout":{"$ref":"#/definitions/timeout"},"!reference":{"$ref":"#/definitions/!reference"}},"additionalProperties":false},"stages":{"type":"array","markdownDescription":"Groups jobs into stages. All jobs in one stage must complete before next stage is executed. Defaults to ['build', 'test', 'deploy']. [Learn More](https://docs.gitlab.com/ci/yaml/#stages).","default":["build","test","deploy"],"items":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"uniqueItems":true,"minItems":1},"include":{"markdownDescription":"Can be `IncludeItem` or `IncludeItem[]`. Each `IncludeItem` will be a string, or an object with properties for the method if including external YAML file. The external content will be fetched, included and evaluated along the `.gitlab-ci.yml`. [Learn More](https://docs.gitlab.com/ci/yaml/#include).","oneOf":[{"$ref":"#/definitions/include_item"},{"type":"array","items":{"$ref":"#/definitions/include_item"}}]},"pages":{"$ref":"#/definitions/job","markdownDescription":"A special job used to upload static sites to GitLab pages. Requires a `public/` directory with `artifacts.path` pointing to it. [Learn More](https://docs.gitlab.com/ci/yaml/#pages)."},"workflow":{"type":"object","properties":{"name":{"$ref":"#/definitions/workflowName"},"auto_cancel":{"$ref":"#/definitions/workflowAutoCancel"},"rules":{"type":"array","items":{"anyOf":[{"type":"object"},{"type":"array","minItems":1,"items":{"type":"string"}}],"properties":{"if":{"$ref":"#/definitions/if"},"changes":{"$ref":"#/definitions/changes"},"exists":{"$ref":"#/definitions/exists"},"variables":{"$ref":"#/definitions/rulesVariables"},"when":{"type":"string","enum":["always","never"]},"auto_cancel":{"$ref":"#/definitions/workflowAutoCancel"}},"additionalProperties":false}}}}},"patternProperties":{"^[.]":{"description":"Hidden keys.","anyOf":[{"$ref":"#/definitions/job_template"},{"description":"Arbitrary YAML anchor."}]}},"additionalProperties":{"$ref":"#/definitions/job"},"definitions":{"artifacts":{"type":["object","null"],"markdownDescription":"Used to specify a list of files and directories that should be attached to the job if it succeeds. Artifacts are sent to GitLab where they can be downloaded. [Learn More](https://docs.gitlab.com/ci/yaml/#artifacts).","additionalProperties":false,"properties":{"paths":{"type":"array","markdownDescription":"A list of paths to files/folders that should be included in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactspaths).","items":{"type":"string"},"minItems":1},"exclude":{"type":"array","markdownDescription":"A list of paths to files/folders that should be excluded in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexclude).","items":{"type":"string"},"minItems":1},"expose_as":{"type":"string","markdownDescription":"Can be used to expose job artifacts in the merge request UI. GitLab will add a link <expose_as> to the relevant merge request that points to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpose_as)."},"name":{"type":"string","markdownDescription":"Name for the archive created on job success. Can use variables in the name, e.g. '$CI_JOB_NAME' [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsname)."},"untracked":{"type":"boolean","markdownDescription":"Whether to add all untracked files (along with 'artifacts.paths') to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsuntracked).","default":false},"when":{"markdownDescription":"Configure when artifacts are uploaded depended on job status. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactswhen).","default":"on_success","type":"string","enum":["on_success","on_failure","always"]},"access":{"markdownDescription":"Configure who can access the artifacts. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsaccess).","default":"all","type":"string","enum":["none","developer","all"]},"expire_in":{"type":"string","markdownDescription":"How long artifacts should be kept. They are saved 30 days by default. Artifacts that have expired are removed periodically via cron job. 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'. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpire_in).","default":"30 days"},"reports":{"type":"object","markdownDescription":"Reports will be uploaded as artifacts, and often displayed in the GitLab UI, such as in merge requests. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsreports).","additionalProperties":false,"properties":{"annotations":{"type":"string","description":"Path to JSON file with annotations report."},"junit":{"description":"Path for file(s) that should be parsed as JUnit XML result","oneOf":[{"type":"string","description":"Path to a single XML file"},{"type":"array","description":"A list of paths to XML files that will automatically be concatenated into a single file","items":{"type":"string"},"minItems":1}]},"browser_performance":{"type":"string","description":"Path to a single file with browser performance metric report(s)."},"coverage_report":{"type":["object","null"],"description":"Used to collect coverage reports from the job.","properties":{"coverage_format":{"description":"Code coverage format used by the test framework.","enum":["cobertura","jacoco"]},"path":{"description":"Path to the coverage report file that should be parsed.","type":"string","minLength":1}}},"codequality":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with code quality report(s) (such as Code Climate)."},"dotenv":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files containing runtime-created variables for this job."},"lsif":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files containing code intelligence (Language Server Index Format)."},"sast":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with SAST vulnerabilities report(s)."},"dependency_scanning":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with Dependency scanning vulnerabilities report(s)."},"container_scanning":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with Container scanning vulnerabilities report(s)."},"dast":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with DAST vulnerabilities report(s)."},"license_management":{"$ref":"#/definitions/string_file_list","description":"Deprecated in 12.8: Path to file or list of files with license report(s)."},"license_scanning":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with license report(s)."},"requirements":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with requirements report(s)."},"secret_detection":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with secret detection report(s)."},"metrics":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with custom metrics report(s)."},"terraform":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with terraform plan(s)."},"cyclonedx":{"$ref":"#/definitions/string_file_list","markdownDescription":"Path to file or list of files with cyclonedx report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports/#artifactsreportscyclonedx)."},"load_performance":{"$ref":"#/definitions/string_file_list","markdownDescription":"Path to file or list of files with load performance testing report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports/#artifactsreportsload_performance)."},"repository_xray":{"$ref":"#/definitions/string_file_list","description":"Path to file or list of files with Repository X-Ray report(s)."}}}}},"string_file_list":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"inputParameters":{"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/).","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"},"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},"options":{"type":"array","markdownDescription":"Specify a list of allowed values for an input.","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"}]}},"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."}},"allOf":[{"if":{"properties":{"type":{"enum":["string"]}}},"then":{"properties":{"default":{"type":["string","null"]}}}},{"if":{"properties":{"type":{"enum":["number"]}}},"then":{"properties":{"default":{"type":["number","null"]}}}},{"if":{"properties":{"type":{"enum":["boolean"]}}},"then":{"properties":{"default":{"type":["boolean","null"]}}}},{"if":{"properties":{"type":{"enum":["array"]}}},"then":{"properties":{"default":{"oneOf":[{"type":"array"},{"type":"null"}]}}}}],"additionalProperties":false},{"type":"null"}]}}},"include_item":{"oneOf":[{"description":"Will infer the method based on the value. E.g. `https://...` strings will be of type `include:remote`, and `/templates/...` or `templates/...` will be of type `include:local`.","type":"string","format":"uri-reference","pattern":"\\w\\.ya?ml$","anyOf":[{"pattern":"^https?://"},{"not":{"pattern":"^\\w+://"}}]},{"type":"object","additionalProperties":false,"properties":{"local":{"description":"Relative path from local repository root (`/`) to the `yaml`/`yml` file template. The file must be on the same branch, and does not work across git submodules.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},"rules":{"$ref":"#/definitions/includeRules"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["local"]},{"type":"object","additionalProperties":false,"properties":{"project":{"description":"Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ci/yaml/#includeproject).","type":"string","pattern":"(?:\\S/\\S|\\$\\S+)"},"ref":{"description":"Branch/Tag/Commit-hash for the target project.","type":"string"},"file":{"oneOf":[{"description":"Relative path from project root (`/`) to the `yaml`/`yml` file template.","type":"string","pattern":"\\.ya?ml$"},{"description":"List of files by relative path from project root (`/`) to the `yaml`/`yml` file template.","type":"array","items":{"type":"string","pattern":"\\.ya?ml$"}}]},"rules":{"$ref":"#/definitions/includeRules"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["project","file"]},{"type":"object","additionalProperties":false,"properties":{"template":{"description":"Use a `.gitlab-ci.yml` template as a base, e.g. `Nodejs.gitlab-ci.yml`.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},"rules":{"$ref":"#/definitions/includeRules"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["template"]},{"type":"object","additionalProperties":false,"properties":{"component":{"description":"Local path to component directory or full path to external component directory.","type":"string","format":"uri-reference"},"rules":{"$ref":"#/definitions/includeRules"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["component"]},{"type":"object","additionalProperties":false,"properties":{"remote":{"description":"URL to a `yaml`/`yml` template file using HTTP/HTTPS.","type":"string","format":"uri-reference","pattern":"^https?://.+\\.ya?ml$"},"integrity":{"description":"SHA256 integrity hash of the remote file content.","type":"string","pattern":"^sha256-[A-Za-z0-9+/]{43}=$"},"rules":{"$ref":"#/definitions/includeRules"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["remote"]}]},"!reference":{"type":"array","items":{"type":"string","minLength":1}},"image":{"oneOf":[{"type":"string","minLength":1,"description":"Full name of the image that should be used. It should contain the Registry part if needed."},{"type":"object","description":"Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of GitLab runner executor.","additionalProperties":false,"properties":{"name":{"type":"string","minLength":1,"description":"Full name of the image that should be used. It should contain the Registry part if needed."},"entrypoint":{"type":"array","description":"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.","minItems":1},"docker":{"type":"object","markdownDescription":"Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagedocker)","additionalProperties":false,"properties":{"platform":{"type":"string","minLength":1,"description":"Image architecture to pull."},"user":{"type":"string","minLength":1,"maxLength":255,"description":"Username or UID to use for the container."}}},"kubernetes":{"type":"object","markdownDescription":"Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)","additionalProperties":false,"properties":{"user":{"type":["string","integer"],"minLength":1,"maxLength":255,"description":"Username or UID to use for the container. It also supports the UID:GID format."}}},"pull_policy":{"markdownDescription":"Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#imagepull_policy).","default":"always","oneOf":[{"type":"string","enum":["always","never","if-not-present"]},{"type":"array","items":{"type":"string","enum":["always","never","if-not-present"]},"minItems":1,"uniqueItems":true}]}},"required":["name"]}],"markdownDescription":"Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of GitLab runner executor. [Learn More](https://docs.gitlab.com/ci/yaml/#image)."},"services":{"type":"array","markdownDescription":"Similar to `image` property, but will link the specified services to the `image` container. [Learn More](https://docs.gitlab.com/ci/yaml/#services).","items":{"oneOf":[{"type":"string","minLength":1,"description":"Full name of the image that should be used. It should contain the Registry part if needed."},{"type":"object","description":"","additionalProperties":false,"properties":{"name":{"type":"string","description":"Full name of the image that should be used. It should contain the Registry part if needed.","minLength":1},"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/ci/services/#available-settings-for-services)","minItems":1,"items":{"type":"string"}},"docker":{"type":"object","markdownDescription":"Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#servicesdocker)","additionalProperties":false,"properties":{"platform":{"type":"string","minLength":1,"description":"Image architecture to pull."},"user":{"type":"string","minLength":1,"maxLength":255,"description":"Username or UID to use for the container."}}},"kubernetes":{"type":"object","markdownDescription":"Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)","additionalProperties":false,"properties":{"user":{"type":["string","integer"],"minLength":1,"maxLength":255,"description":"Username or UID to use for the container. It also supports the UID:GID format."}}},"pull_policy":{"markdownDescription":"Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#servicespull_policy).","default":"always","oneOf":[{"type":"string","enum":["always","never","if-not-present"]},{"type":"array","items":{"type":"string","enum":["always","never","if-not-present"]},"minItems":1,"uniqueItems":true}]},"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/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/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/ci/services/#available-settings-for-services)"}},"required":["name"]}]}},"id_tokens":{"type":"object","markdownDescription":"Defines JWTs to be injected as environment variables.","patternProperties":{".*":{"type":"object","properties":{"aud":{"oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true}]}},"required":["aud"],"additionalProperties":false}}},"identity":{"type":"string","markdownDescription":"Sets a workload identity (experimental), allowing automatic authentication with the external system. [Learn More](https://docs.gitlab.com/ci/yaml/#identity).","enum":["google_cloud"]},"secrets":{"type":"object","markdownDescription":"Defines secrets to be injected as environment variables. [Learn More](https://docs.gitlab.com/ci/yaml/#secrets).","patternProperties":{".*":{"type":"object","properties":{"vault":{"oneOf":[{"type":"string","markdownDescription":"The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`). [Learn More](https://docs.gitlab.com/ci/yaml/#secretsvault)"},{"type":"object","properties":{"engine":{"type":"object","properties":{"name":{"type":"string"},"path":{"type":"string"}},"required":["name","path"]},"path":{"type":"string"},"field":{"type":"string"}},"required":["engine","path","field"],"additionalProperties":false}]},"gcp_secret_manager":{"type":"object","markdownDescription":"Defines the secret version to be fetched from GCP Secret Manager. Name refers to the secret name in GCP secret manager. Version refers to the desired secret version (defaults to 'latest').","properties":{"name":{"type":"string"},"version":{"oneOf":[{"type":"string"},{"type":"integer"}],"default":"version"}},"required":["name"],"additionalProperties":false},"azure_key_vault":{"type":"object","properties":{"name":{"type":"string"},"version":{"type":"string"}},"required":["name"],"additionalProperties":false},"akeyless":{"type":"object","properties":{"name":{"type":"string"},"data_key":{"type":"string"},"cert_user_name":{"type":"string"},"public_key_data":{"type":"string"},"csr_data":{"type":"string"}},"additionalProperties":false},"file":{"type":"boolean","default":true,"markdownDescription":"Configures the secret to be stored as either a file or variable type CI/CD variable. [Learn More](https://docs.gitlab.com/ci/yaml/#secretsfile)"},"token":{"type":"string","description":"Specifies the JWT variable that should be used to authenticate with the secret provider."}},"anyOf":[{"required":["vault"]},{"required":["azure_key_vault"]},{"required":["gcp_secret_manager"]},{"required":["akeyless"]}],"dependencies":{"gcp_secret_manager":["token"]},"additionalProperties":false}}},"script":{"oneOf":[{"type":"string","minLength":1},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]},"minItems":1}]},"steps":{"type":"array","items":{"$ref":"#/definitions/step"}},"optional_script":{"oneOf":[{"type":"string"},{"type":"array","items":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}]}}]},"before_script":{"$ref":"#/definitions/optional_script","markdownDescription":"Defines scripts that should run *before* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#before_script)."},"after_script":{"$ref":"#/definitions/optional_script","markdownDescription":"Defines scripts that should run *after* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#after_script)."},"rules":{"type":["array","null"],"markdownDescription":"Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rules).","items":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"if":{"$ref":"#/definitions/if"},"changes":{"$ref":"#/definitions/changes"},"exists":{"$ref":"#/definitions/exists"},"variables":{"$ref":"#/definitions/rulesVariables"},"when":{"$ref":"#/definitions/when"},"start_in":{"$ref":"#/definitions/start_in"},"allow_failure":{"$ref":"#/definitions/allow_failure"},"needs":{"$ref":"#/definitions/rulesNeeds"},"interruptible":{"$ref":"#/definitions/interruptible"}}},{"type":"string","minLength":1},{"type":"array","minItems":1,"items":{"type":"string"}}]}},"includeRules":{"type":["array","null"],"markdownDescription":"You can use rules to conditionally include other configuration files. [Learn More](https://docs.gitlab.com/ci/yaml/includes/#use-rules-with-include).","items":{"anyOf":[{"type":"object","additionalProperties":false,"properties":{"if":{"$ref":"#/definitions/if"},"changes":{"$ref":"#/definitions/changes"},"exists":{"$ref":"#/definitions/exists"},"when":{"markdownDescription":"Use `when: never` to exclude the configuration file if the condition matches. [Learn More](https://docs.gitlab.com/ci/yaml/includes/#include-with-rulesif).","oneOf":[{"type":"string","enum":["never","always"]},{"type":"null"}]}}},{"type":"string","minLength":1},{"type":"array","minItems":1,"items":{"type":"string"}}]}},"workflowName":{"type":"string","markdownDescription":"Defines the pipeline name. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowname).","minLength":1,"maxLength":255},"workflowAutoCancel":{"type":"object","description":"Define the rules for when pipeline should be automatically cancelled.","additionalProperties":false,"properties":{"on_job_failure":{"markdownDescription":"Define which jobs to stop after a job fails.","default":"none","type":"string","enum":["none","all"]},"on_new_commit":{"markdownDescription":"Configure the behavior of the auto-cancel redundant pipelines feature. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowauto_cancelon_new_commit)","type":"string","enum":["conservative","interruptible","none"]}}},"globalVariables":{"markdownDescription":"Defines default variables for all jobs. Job level property overrides global variables. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).","type":"object","patternProperties":{".*":{"oneOf":[{"type":["boolean","number","string"]},{"type":"object","properties":{"value":{"type":"string","markdownDescription":"Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesvalue)"},"options":{"type":"array","items":{"type":"string"},"minItems":1,"uniqueItems":true,"markdownDescription":"A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesoptions)"},"description":{"type":"string","markdownDescription":"Explains what the variable is used for, what the acceptable values are. Variables with `description` are prefilled when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesdescription)."},"expand":{"type":"boolean","markdownDescription":"If the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand)."}},"additionalProperties":false}]}}},"jobVariables":{"markdownDescription":"Defines variables for a job. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).","type":"object","patternProperties":{".*":{"oneOf":[{"type":["boolean","number","string"]},{"type":"object","properties":{"value":{"type":"string"},"expand":{"type":"boolean","markdownDescription":"Defines if the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand)."}},"additionalProperties":false}]}}},"rulesVariables":{"markdownDescription":"Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesvariables).","type":"object","patternProperties":{".*":{"type":["boolean","number","string"]}}},"if":{"type":"string","markdownDescription":"Expression to evaluate whether additional attributes should be provided to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesif)."},"changes":{"markdownDescription":"Additional attributes will be provided to job if any of the provided paths matches a modified file. [Learn More](https://docs.gitlab.com/ci/yaml/#ruleschanges).","anyOf":[{"type":"object","additionalProperties":false,"required":["paths"],"properties":{"paths":{"type":"array","description":"List of file paths.","items":{"type":"string"}},"compare_to":{"type":"string","description":"Ref for comparing changes."}}},{"type":"array","items":{"type":"string"}}]},"exists":{"markdownDescription":"Additional attributes will be provided to job if any of the provided paths matches an existing file in the repository. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesexists).","anyOf":[{"type":"array","items":{"type":"string"}},{"type":"object","additionalProperties":false,"required":["paths"],"properties":{"paths":{"type":"array","description":"List of file paths.","items":{"type":"string"}},"project":{"type":"string","description":"Path of the project to search in."}}},{"type":"object","additionalProperties":false,"required":["paths","project"],"properties":{"paths":{"type":"array","description":"List of file paths.","items":{"type":"string"}},"project":{"type":"string","description":"Path of the project to search in."},"ref":{"type":"string","description":"Ref of the project to search in."}}}]},"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/ci/yaml/#timeout).","minLength":1},"start_in":{"type":"string","markdownDescription":"Used in conjunction with 'when: delayed' to set how long to delay before starting a job. e.g. '5', 5 seconds, 30 minutes, 1 week, etc. [Learn More](https://docs.gitlab.com/ci/jobs/job_control/#run-a-job-after-a-delay).","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/ci/yaml/#rulesneeds).","type":"array","items":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"job":{"type":"string","minLength":1,"description":"Name of a job that is defined in the pipeline."},"artifacts":{"type":"boolean","description":"Download artifacts of the job in needs."},"optional":{"type":"boolean","description":"Whether the job needs to be present in the pipeline to run ahead of the current job."}},"required":["job"]}]}},"allow_failure":{"markdownDescription":"Allow job to fail. A failed job does not cause the pipeline to fail. [Learn More](https://docs.gitlab.com/ci/yaml/#allow_failure).","oneOf":[{"description":"Setting this option to true will allow the job to fail while still letting the pipeline pass.","type":"boolean","default":false},{"description":"Exit code that are not considered failure. The job fails for any other exit code.","type":"object","additionalProperties":false,"required":["exit_codes"],"properties":{"exit_codes":{"type":"integer"}}},{"description":"You can list which exit codes are not considered failures. The job fails for any other exit code.","type":"object","additionalProperties":false,"required":["exit_codes"],"properties":{"exit_codes":{"type":"array","minItems":1,"uniqueItems":true,"items":{"type":"integer"}}}}]},"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":1,"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/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/ci/yaml/#when).","default":"on_success","type":"string","enum":["on_success","on_failure","always","never","manual","delayed"]},"cache":{"markdownDescription":"Use `cache` to specify a list of files and directories to cache between jobs. You can only use paths that are in the local working copy. [Learn More](https://docs.gitlab.com/ci/yaml/#cache)","oneOf":[{"$ref":"#/definitions/cache_item"},{"type":"array","items":{"$ref":"#/definitions/cache_item"}}]},"cache_item":{"type":"object","properties":{"key":{"markdownDescription":"Use the `cache:key` keyword to give each cache a unique identifying key. All jobs that use the same cache key use the same cache, including in different pipelines. Must be used with `cache:path`, or nothing is cached. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekey).","oneOf":[{"type":"string","pattern":"^[^/]*[^./][^/]*$"},{"type":"object","properties":{"files":{"markdownDescription":"Use the `cache:key:files` keyword to generate a new key when one or two specific files change. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyfiles)","type":"array","items":{"type":"string"},"minItems":1,"maxItems":2},"prefix":{"markdownDescription":"Use `cache:key:prefix` to combine a prefix with the SHA computed for `cache:key:files`. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyprefix)","type":"string"}}}]},"paths":{"type":"array","markdownDescription":"Use the `cache:paths` keyword to choose which files or directories to cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepaths)","items":{"type":"string"}},"policy":{"type":"string","markdownDescription":"Determines the strategy for downloading and updating the cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepolicy)","default":"pull-push","pattern":"pull-push|pull|push|\\$\\w{1,255}"},"unprotect":{"type":"boolean","markdownDescription":"Use `unprotect: true` to set a cache to be shared between protected and unprotected branches.","default":false},"untracked":{"type":"boolean","markdownDescription":"Use `untracked: true` to cache all files that are untracked in your Git repository. [Learn More](https://docs.gitlab.com/ci/yaml/#cacheuntracked)","default":false},"when":{"type":"string","markdownDescription":"Defines when to save the cache, based on the status of the job. [Learn More](https://docs.gitlab.com/ci/yaml/#cachewhen).","default":"on_success","enum":["on_success","on_failure","always"]},"fallback_keys":{"type":"array","markdownDescription":"List of keys to download cache from if no cache hit occurred for key","items":{"type":"string"},"maxItems":5}}},"filter_refs":{"type":"array","description":"Filter job by different keywords that determine origin or state, or by supplying string/regex to check against branch/tag names.","items":{"anyOf":[{"oneOf":[{"enum":["branches"],"description":"When a branch is pushed."},{"enum":["tags"],"description":"When a tag is pushed."},{"enum":["api"],"description":"When a pipeline has been triggered by a second pipelines API (not triggers API)."},{"enum":["external"],"description":"When using CI services other than GitLab"},{"enum":["pipelines"],"description":"For multi-project triggers, created using the API with 'CI_JOB_TOKEN'."},{"enum":["pushes"],"description":"Pipeline is triggered by a `git push` by the user"},{"enum":["schedules"],"description":"For scheduled pipelines."},{"enum":["triggers"],"description":"For pipelines created using a trigger token."},{"enum":["web"],"description":"For pipelines created using *Run pipeline* button in GitLab UI (under your project's *Pipelines*)."}]},{"type":"string","description":"String or regular expression to match against tag or branch names."}]}},"filter":{"oneOf":[{"type":"null"},{"$ref":"#/definitions/filter_refs"},{"type":"object","additionalProperties":false,"properties":{"refs":{"$ref":"#/definitions/filter_refs"},"kubernetes":{"enum":["active"],"description":"Filter job based on if Kubernetes integration is active."},"variables":{"type":"array","markdownDescription":"Filter job by checking comparing values of CI/CD variables. [Learn More](https://docs.gitlab.com/ci/jobs/job_control/#cicd-variable-expressions).","items":{"type":"string"}},"changes":{"type":"array","description":"Filter job creation based on files that were modified in a git push.","items":{"type":"string"}}}}]},"retry":{"markdownDescription":"Retry a job if it fails. Can be a simple integer or object definition. [Learn More](https://docs.gitlab.com/ci/yaml/#retry).","oneOf":[{"$ref":"#/definitions/retry_max"},{"type":"object","additionalProperties":false,"properties":{"max":{"$ref":"#/definitions/retry_max"},"when":{"markdownDescription":"Either a single or array of error types to trigger job retry. [Learn More](https://docs.gitlab.com/ci/yaml/#retrywhen).","oneOf":[{"$ref":"#/definitions/retry_errors"},{"type":"array","items":{"$ref":"#/definitions/retry_errors"}}]},"exit_codes":{"markdownDescription":"Either a single or array of exit codes to trigger job retry on. [Learn More](https://docs.gitlab.com/ci/yaml/#retryexit_codes).","oneOf":[{"description":"Retry when the job exit code is included in the array's values.","type":"array","minItems":1,"uniqueItems":true,"items":{"type":"integer"}},{"description":"Retry when the job exit code is equal to.","type":"integer"}]}}}]},"retry_max":{"type":"integer","description":"The number of times the job will be retried if it fails. Defaults to 0 and can max be retried 2 times (3 times total).","default":0,"minimum":0,"maximum":2},"retry_errors":{"oneOf":[{"const":"always","description":"Retry on any failure (default)."},{"const":"unknown_failure","description":"Retry when the failure reason is unknown."},{"const":"script_failure","description":"Retry when the script failed."},{"const":"api_failure","description":"Retry on API failure."},{"const":"stuck_or_timeout_failure","description":"Retry when the job got stuck or timed out."},{"const":"runner_system_failure","description":"Retry if there is a runner system failure (for example, job setup failed)."},{"const":"runner_unsupported","description":"Retry if the runner is unsupported."},{"const":"stale_schedule","description":"Retry if a delayed job could not be executed."},{"const":"job_execution_timeout","description":"Retry if the script exceeded the maximum execution time set for the job."},{"const":"archived_failure","description":"Retry if the job is archived and can\u2019t be run."},{"const":"unmet_prerequisites","description":"Retry if the job failed to complete prerequisite tasks."},{"const":"scheduler_failure","description":"Retry if the scheduler failed to assign the job to a runner."},{"const":"data_integrity_failure","description":"Retry if there is an unknown job problem."}]},"interruptible":{"type":"boolean","markdownDescription":"Interruptible is used to indicate that a job should be canceled if made redundant by a newer pipeline run. [Learn More](https://docs.gitlab.com/ci/yaml/#interruptible).","default":false},"inputs":{"markdownDescription":"Used to pass input values to included templates, components, downstream pipelines, or child pipelines. [Learn More](https://docs.gitlab.com/ci/inputs/).","type":"object","patternProperties":{"^[a-zA-Z0-9_-]+$":{"description":"Input parameter value that matches parameter names defined in spec:inputs of the included configuration.","oneOf":[{"type":"string","maxLength":1024},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"object","additionalProperties":true},{"type":"array","items":{"additionalProperties":true}}]}},{"type":"object","additionalProperties":true},{"type":"null"}]}},"additionalProperties":false},"job":{"allOf":[{"$ref":"#/definitions/job_template"}]},"job_template":{"type":"object","additionalProperties":false,"properties":{"image":{"$ref":"#/definitions/image"},"services":{"$ref":"#/definitions/services"},"before_script":{"$ref":"#/definitions/before_script"},"after_script":{"$ref":"#/definitions/after_script"},"hooks":{"$ref":"#/definitions/hooks"},"rules":{"$ref":"#/definitions/rules"},"variables":{"$ref":"#/definitions/jobVariables"},"cache":{"$ref":"#/definitions/cache"},"id_tokens":{"$ref":"#/definitions/id_tokens"},"identity":{"$ref":"#/definitions/identity"},"secrets":{"$ref":"#/definitions/secrets"},"script":{"$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/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":[{"type":"string","minLength":1},{"type":"array","minItems":1,"items":{"type":"string"}}]},"only":{"$ref":"#/definitions/filter","description":"Job will run *only* when these filtering options match."},"extends":{"description":"The name of one or more jobs to inherit configuration from.","oneOf":[{"type":"string"},{"type":"array","items":{"type":"string"},"minItems":1}]},"needs":{"description":"The list of jobs in previous stages whose sole completion is needed to start the current job.","type":"array","items":{"oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"job":{"type":"string"},"artifacts":{"type":"boolean"},"optional":{"type":"boolean"},"parallel":{"$ref":"#/definitions/parallel_matrix"}},"required":["job"]},{"type":"object","additionalProperties":false,"properties":{"pipeline":{"type":"string"},"job":{"type":"string"},"artifacts":{"type":"boolean"},"parallel":{"$ref":"#/definitions/parallel_matrix"}},"required":["job","pipeline"]},{"type":"object","additionalProperties":false,"properties":{"job":{"type":"string"},"project":{"type":"string"},"ref":{"type":"string"},"artifacts":{"type":"boolean"},"parallel":{"$ref":"#/definitions/parallel_matrix"}},"required":["job","project","ref"]},{"$ref":"#/definitions/!reference"}]}},"except":{"$ref":"#/definitions/filter","description":"Job will run *except* for when these filtering options match."},"tags":{"$ref":"#/definitions/tags"},"allow_failure":{"$ref":"#/definitions/allow_failure"},"timeout":{"$ref":"#/definitions/timeout"},"when":{"$ref":"#/definitions/when"},"start_in":{"$ref":"#/definitions/start_in"},"manual_confirmation":{"markdownDescription":"Describes the Custom confirmation message for a manual job [Learn More](https://docs.gitlab.com/ci/yaml/#when).","type":"string"},"dependencies":{"type":"array","description":"Specify a list of job names from earlier stages from which artifacts should be loaded. By default, all previous artifacts are passed. Use an empty array to skip downloading artifacts.","items":{"type":"string"}},"artifacts":{"$ref":"#/definitions/artifacts"},"environment":{"description":"Used to associate environment metadata with a deploy. Environment can have a name and URL attached to it, and will be displayed under /environments under the project.","oneOf":[{"type":"string"},{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the environment, e.g. 'qa', 'staging', 'production'.","minLength":1},"url":{"type":"string","description":"When set, this will expose buttons in various places for the current environment in GitLab, that will take you to the defined URL.","format":"uri","pattern":"^(https?://.+|\\$[A-Za-z]+)"},"on_stop":{"type":"string","description":"The name of a job to execute when the environment is about to be stopped."},"action":{"enum":["start","prepare","stop","verify","access"],"description":"Specifies what this job will do. 'start' (default) indicates the job will start the deployment. 'prepare'/'verify'/'access' indicates this will not affect the deployment. 'stop' indicates this will stop the deployment.","default":"start"},"auto_stop_in":{"type":"string","description":"The amount of time it should take before GitLab will automatically stop the environment. 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'."},"kubernetes":{"type":"object","description":"Used to configure the kubernetes deployment for this environment. This is currently not supported for kubernetes clusters that are managed by GitLab.","properties":{"namespace":{"type":"string","description":"The kubernetes namespace where this environment should be deployed to.","minLength":1},"agent":{"type":"string","description":"Specifies the GitLab Agent for Kubernetes. The format is `path/to/agent/project:agent-name`."},"flux_resource_path":{"type":"string","description":"The Flux resource path to associate with this environment. This must be the full resource path. For example, 'helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent'."}}},"deployment_tier":{"type":"string","description":"Explicitly specifies the tier of the deployment environment if non-standard environment name is used.","enum":["production","staging","testing","development","other"]}},"required":["name"]}]},"release":{"type":"object","description":"Indicates that the job creates a Release.","additionalProperties":false,"properties":{"tag_name":{"type":"string","description":"The tag_name must be specified. It can refer to an existing Git tag or can be specified by the user.","minLength":1},"tag_message":{"type":"string","description":"Message to use if creating a new annotated tag."},"description":{"type":"string","description":"Specifies the longer description of the Release.","minLength":1},"name":{"type":"string","description":"The Release name. If omitted, it is populated with the value of release: tag_name."},"ref":{"type":"string","description":"If the release: tag_name doesn\u2019t exist yet, the release is created from ref. ref can be a commit SHA, another tag name, or a branch name."},"milestones":{"type":"array","description":"The title of each milestone the release is associated with.","items":{"type":"string"}},"released_at":{"type":"string","description":"The date and time when the release is ready. Defaults to the current date and time if not defined. Should be enclosed in quotes and expressed in ISO 8601 format.","format":"date-time","pattern":"^(?:[1-9]\\d{3}-(?:(?:0[1-9]|1[0-2])-(?:0[1-9]|1\\d|2[0-8])|(?:0[13-9]|1[0-2])-(?:29|30)|(?:0[13578]|1[02])-31)|(?:[1-9]\\d(?:0[48]|[2468][048]|[13579][26])|(?:[2468][048]|[13579][26])00)-02-29)T(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:Z|[+-][01]\\d:[0-5]\\d)$"},"assets":{"type":"object","additionalProperties":false,"properties":{"links":{"type":"array","description":"Include asset links in the release.","items":{"type":"object","additionalProperties":false,"properties":{"name":{"type":"string","description":"The name of the link.","minLength":1},"url":{"type":"string","description":"The URL to download a file.","minLength":1},"filepath":{"type":"string","description":"The redirect link to the url."},"link_type":{"type":"string","description":"The content kind of what users can download via url.","enum":["runbook","package","image","other"]}},"required":["name","url"]},"minItems":1}},"required":["links"]}},"required":["tag_name","description"]},"coverage":{"type":"string","description":"Must be a regular expression, optionally but recommended to be quoted, and must be surrounded with '/'. Example: '/Code coverage: \\d+\\.\\d+/'","format":"regex","pattern":"^/.+/$"},"retry":{"$ref":"#/definitions/retry"},"parallel":{"$ref":"#/definitions/parallel"},"interruptible":{"$ref":"#/definitions/interruptible"},"resource_group":{"type":"string","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/ci/yaml/#trigger).","oneOf":[{"type":"object","markdownDescription":"Trigger a multi-project pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#multi-project-pipelines).","additionalProperties":false,"properties":{"project":{"description":"Path to the project, e.g. `group/project`, or `group/sub-group/project`.","type":"string","pattern":"(?:\\S/\\S|\\$\\S+)"},"branch":{"description":"The branch name that a downstream pipeline will use","type":"string"},"strategy":{"description":"You can mirror the pipeline status from the triggered pipeline to the source bridge job by using strategy: depend","type":"string","enum":["depend"]},"inputs":{"$ref":"#/definitions/inputs"},"forward":{"description":"Specify what to forward to the downstream pipeline.","type":"object","additionalProperties":false,"properties":{"yaml_variables":{"type":"boolean","description":"Variables defined in the trigger job are passed to downstream pipelines.","default":true},"pipeline_variables":{"type":"boolean","description":"Variables added for manual pipeline runs and scheduled pipelines are passed to downstream pipelines.","default":false}}}},"required":["project"],"dependencies":{"branch":["project"]}},{"type":"object","description":"Trigger a child pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#parent-child-pipelines).","additionalProperties":false,"properties":{"include":{"oneOf":[{"description":"Relative path from local repository root (`/`) to the local YAML file to define the pipeline configuration.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},{"type":"array","description":"References a local file or an artifact from another job to define the pipeline configuration.","maxItems":3,"items":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"local":{"description":"Relative path from local repository root (`/`) to the local YAML file to define the pipeline configuration.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["local"]},{"type":"object","additionalProperties":false,"properties":{"template":{"description":"Name of the template YAML file to use in the pipeline configuration.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["template"]},{"type":"object","additionalProperties":false,"properties":{"artifact":{"description":"Relative path to the generated YAML file which is extracted from the artifacts and used as the configuration for triggering the child pipeline.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},"job":{"description":"Job name which generates the artifact","type":"string"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["artifact","job"]},{"type":"object","additionalProperties":false,"properties":{"project":{"description":"Path to another private project under the same GitLab instance, like `group/project` or `group/sub-group/project`.","type":"string","pattern":"(?:\\S/\\S|\\$\\S+)"},"ref":{"description":"Branch/Tag/Commit hash for the target project.","minLength":1,"type":"string"},"file":{"description":"Relative path from repository root (`/`) to the pipeline configuration YAML file.","type":"string","format":"uri-reference","pattern":"\\.ya?ml$"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["project","file"]},{"type":"object","additionalProperties":false,"properties":{"component":{"description":"Local path to component directory or full path to external component directory.","type":"string","format":"uri-reference"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["component"]},{"type":"object","additionalProperties":false,"properties":{"remote":{"description":"URL to a `yaml`/`yml` template file using HTTP/HTTPS.","type":"string","format":"uri-reference","pattern":"^https?://.+\\.ya?ml$"},"inputs":{"$ref":"#/definitions/inputs"}},"required":["remote"]}]}}]},"strategy":{"description":"You can mirror the pipeline status from the triggered pipeline to the source bridge job by using strategy: depend","type":"string","enum":["depend"]},"forward":{"description":"Specify what to forward to the downstream pipeline.","type":"object","additionalProperties":false,"properties":{"yaml_variables":{"type":"boolean","description":"Variables defined in the trigger job are passed to downstream pipelines.","default":true},"pipeline_variables":{"type":"boolean","description":"Variables added for manual pipeline runs and scheduled pipelines are passed to downstream pipelines.","default":false}}}}},{"markdownDescription":"Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ci/yaml/#trigger).","type":"string","pattern":"(?:\\S/\\S|\\$\\S+)"}]},"inherit":{"type":"object","markdownDescription":"Controls inheritance of globally-defined defaults and variables. Boolean values control inheritance of all default: or variables: keywords. To inherit only a subset of default: or variables: keywords, specify what you wish to inherit. Anything not listed is not inherited. [Learn More](https://docs.gitlab.com/ci/yaml/#inherit).","properties":{"default":{"markdownDescription":"Whether to inherit all globally-defined defaults or not. Or subset of inherited defaults. [Learn more](https://docs.gitlab.com/ci/yaml/#inheritdefault).","oneOf":[{"type":"boolean"},{"type":"array","items":{"type":"string","enum":["after_script","artifacts","before_script","cache","image","interruptible","retry","services","tags","timeout"]}}]},"variables":{"markdownDescription":"Whether to inherit all globally-defined variables or not. Or subset of inherited variables. [Learn More](https://docs.gitlab.com/ci/yaml/#inheritvariables).","oneOf":[{"type":"boolean"},{"type":"array","items":{"type":"string"}}]}},"additionalProperties":false},"publish":{"description":"Deprecated. Use `pages.publish` instead. A path to a directory that contains the files to be published with Pages.","type":"string"},"pages":{"oneOf":[{"type":"object","additionalProperties":false,"properties":{"path_prefix":{"type":"string","markdownDescription":"The GitLab Pages URL path prefix used in this version of pages. The given value is converted to lowercase, shortened to 63 bytes, and everything except alphanumeric characters is replaced with a hyphen. Leading and trailing hyphens are not permitted."},"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/ci/yaml/#pagesexpire_in)."},"publish":{"type":"string","markdownDescription":"A path to a directory that contains the files to be published with Pages."}}},{"type":"boolean","markdownDescription":"Whether this job should trigger a Pages deploy (Replaces the need to name the job `pages`)","default":false}]}},"oneOf":[{"properties":{"when":{"enum":["delayed"]}},"required":["when","start_in"]},{"properties":{"when":{"not":{"enum":["delayed"]}}}}]},"tags":{"type":"array","minItems":1,"markdownDescription":"Used to select runners from the list of available runners. A runner must have all tags listed here to run the job. [Learn More](https://docs.gitlab.com/ci/yaml/#tags).","items":{"anyOf":[{"type":"string","minLength":1},{"type":"array","minItems":1,"items":{"type":"string"}}]}},"hooks":{"type":"object","markdownDescription":"Specifies lists of commands to execute on the runner at certain stages of job execution. [Learn More](https://docs.gitlab.com/ci/yaml/#hooks).","properties":{"pre_get_sources_script":{"$ref":"#/definitions/optional_script","markdownDescription":"Specifies a list of commands to execute on the runner before updating the Git repository and any submodules. [Learn More](https://docs.gitlab.com/ci/yaml/#hookspre_get_sources_script)."}},"additionalProperties":false},"step":{"description":"Any of these step use cases are valid.","oneOf":[{"description":"Run a referenced step.","type":"object","additionalProperties":false,"required":["name","step"],"properties":{"name":{"$ref":"#/definitions/stepName"},"env":{"$ref":"#/definitions/stepNamedStrings"},"inputs":{"$ref":"#/definitions/stepNamedValues"},"step":{"oneOf":[{"type":"string"},{"$ref":"#/definitions/stepGitReference"},{"$ref":"#/definitions/stepOciReference"}]}}},{"description":"Run a sequence of steps.","oneOf":[{"type":"object","additionalProperties":false,"required":["run"],"properties":{"env":{"$ref":"#/definitions/stepNamedStrings"},"run":{"type":"array","items":{"$ref":"#/definitions/step"}},"outputs":{"$ref":"#/definitions/stepNamedValues"},"delegate":{"type":"string"}}}]},{"description":"Run an action.","type":"object","additionalProperties":false,"required":["name","action"],"properties":{"name":{"$ref":"#/definitions/stepName"},"env":{"$ref":"#/definitions/stepNamedStrings"},"inputs":{"$ref":"#/definitions/stepNamedValues"},"action":{"type":"string","minLength":1}}},{"description":"Run a script.","type":"object","additionalProperties":false,"required":["name","script"],"properties":{"name":{"$ref":"#/definitions/stepName"},"env":{"$ref":"#/definitions/stepNamedStrings"},"script":{"type":"string","minLength":1}}},{"description":"Exec a binary.","type":"object","additionalProperties":false,"required":["exec"],"properties":{"env":{"$ref":"#/definitions/stepNamedStrings"},"exec":{"description":"Exec is a command to run.","$ref":"#/definitions/stepExec"}}}]},"stepName":{"type":"string","pattern":"^[a-zA-Z_][a-zA-Z0-9_]*$"},"stepNamedStrings":{"type":"object","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_]*$":{"type":"string"}},"additionalProperties":false},"stepNamedValues":{"type":"object","patternProperties":{"^[a-zA-Z_][a-zA-Z0-9_]*$":{"type":["string","number","boolean","null","array","object"]}},"additionalProperties":false},"stepGitReference":{"type":"object","description":"GitReference is a reference to a step in a Git repository.","additionalProperties":false,"required":["git"],"properties":{"git":{"type":"object","additionalProperties":false,"required":["url","rev"],"properties":{"url":{"type":"string"},"dir":{"type":"string"},"rev":{"type":"string"},"file":{"type":"string"}}}}},"stepOciReference":{"type":"object","description":"OCIReference is a reference to a step hosted in an OCI repository.","additionalProperties":false,"required":["oci"],"properties":{"oci":{"type":"object","additionalProperties":false,"required":["registry","repository","tag"],"properties":{"registry":{"type":"string","description":"The <host>[:<port>] of the container registry server.","examples":["registry.gitlab.com"]},"repository":{"type":"string","description":"A path within the registry containing related OCI images. Typically the namespace, project, and image name.","examples":["my_group/my_project/image"]},"tag":{"type":"string","description":"A pointer to the image manifest hosted in the OCI repository.","examples":["latest","1","1.5","1.5.0"]},"dir":{"type":"string","description":"A directory inside the OCI image where the step can be found.","examples":["/my_steps/hello_world"]},"file":{"type":"string","description":"The name of the file that defines the step, defaults to step.yml.","examples":["step.yml"]}}}}},"stepExec":{"type":"object","additionalProperties":false,"required":["command"],"properties":{"command":{"type":"array","description":"Command are the parameters to the system exec API. It does not invoke a shell.","items":{"type":"string"},"minItems":1},"work_dir":{"type":"string","description":"WorkDir is the working directly in which `command` will be exec'ed."}}}}}
</schema>

[User] Provide a JSON object that satisfies the schema "ci". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

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/ci/yaml/). [Learn More](https://docs.gitlab.com/ci/).

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).

Defining `image` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script).

Defining `services` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script).

Defining `before_script` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script).

Defining `after_script` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script).

Defining `cache` globally is deprecated. Use [`default`](https://docs.gitlab.com/ci/yaml/#default) instead. [Learn more](https://docs.gitlab.com/ci/yaml/#globally-defined-image-services-cache-before_script-after_script).

Groups jobs into stages. All jobs in one stage must complete before next stage is executed. Defaults to ['build', 'test', 'deploy']. [Learn More](https://docs.gitlab.com/ci/yaml/#stages).

Can be `IncludeItem` or `IncludeItem[]`. Each `IncludeItem` will be a string, or an object with properties for the method if including external YAML file. The external content will be fetched, included and evaluated along the `.gitlab-ci.yml`. [Learn More](https://docs.gitlab.com/ci/yaml/#include).

A special job used to upload static sites to GitLab pages. Requires a `public/` directory with `artifacts.path` pointing to it. [Learn More](https://docs.gitlab.com/ci/yaml/#pages).

Hidden keys.

Arbitrary YAML anchor.

Used to specify a list of files and directories that should be attached to the job if it succeeds. Artifacts are sent to GitLab where they can be downloaded. [Learn More](https://docs.gitlab.com/ci/yaml/#artifacts).

A list of paths to files/folders that should be included in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactspaths).

A list of paths to files/folders that should be excluded in the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexclude).

Can be used to expose job artifacts in the merge request UI. GitLab will add a link <expose_as> to the relevant merge request that points to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpose_as).

Name for the archive created on job success. Can use variables in the name, e.g. '$CI_JOB_NAME' [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsname).

Whether to add all untracked files (along with 'artifacts.paths') to the artifact. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsuntracked).

Configure when artifacts are uploaded depended on job status. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactswhen).

Configure who can access the artifacts. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsaccess).

How long artifacts should be kept. They are saved 30 days by default. Artifacts that have expired are removed periodically via cron job. 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'. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsexpire_in).

Reports will be uploaded as artifacts, and often displayed in the GitLab UI, such as in merge requests. [Learn More](https://docs.gitlab.com/ci/yaml/#artifactsreports).

Path to JSON file with annotations report.

Path for file(s) that should be parsed as JUnit XML result

Path to a single XML file

A list of paths to XML files that will automatically be concatenated into a single file

Path to a single file with browser performance metric report(s).

Used to collect coverage reports from the job.

Code coverage format used by the test framework.

Path to the coverage report file that should be parsed.

Path to file or list of files with code quality report(s) (such as Code Climate).

Path to file or list of files containing runtime-created variables for this job.

Path to file or list of files containing code intelligence (Language Server Index Format).

Path to file or list of files with SAST vulnerabilities report(s).

Path to file or list of files with Dependency scanning vulnerabilities report(s).

Path to file or list of files with Container scanning vulnerabilities report(s).

Path to file or list of files with DAST vulnerabilities report(s).

Deprecated in 12.8: Path to file or list of files with license report(s).

Path to file or list of files with license report(s).

Path to file or list of files with requirements report(s).

Path to file or list of files with secret detection report(s).

Path to file or list of files with custom metrics report(s).

Path to file or list of files with terraform plan(s).

Path to file or list of files with cyclonedx report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports/#artifactsreportscyclonedx).

Path to file or list of files with load performance testing report(s). [Learn More](https://docs.gitlab.com/ci/yaml/artifacts_reports/#artifactsreportsload_performance).

Path to file or list of files with Repository X-Ray report(s).

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/).

**Input Configuration**

Available properties:
- `type`: string (default), array, boolean, or number
- `description`: Human-readable explanation of the parameter (supports Markdown)
- `options`: List of allowed values
- `default`: Value to use when not specified (makes input optional)
- `regex`: Pattern that string values must match

Force a specific input type. Defaults to 'string' when not specified. [Learn More](https://docs.gitlab.com/ci/inputs/#input-types).

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.

Specify a list of allowed values for an input.

Specify a regular expression that the input must match. Only impacts inputs with a `type` of `string`.

Define default values for inputs when not specified. When you specify a default, the inputs are no longer mandatory.

Will infer the method based on the value. E.g. `https://...` strings will be of type `include:remote`, and `/templates/...` or `templates/...` will be of type `include:local`.

Relative path from local repository root (`/`) to the `yaml`/`yml` file template. The file must be on the same branch, and does not work across git submodules.

Path to the project, e.g. `group/project`, or `group/sub-group/project` [Learn more](https://docs.gitlab.com/ci/yaml/#includeproject).

Branch/Tag/Commit-hash for the target project.

Relative path from project root (`/`) to the `yaml`/`yml` file template.

List of files by relative path from project root (`/`) to the `yaml`/`yml` file template.

Use a `.gitlab-ci.yml` template as a base, e.g. `Nodejs.gitlab-ci.yml`.

Local path to component directory or full path to external component directory.

URL to a `yaml`/`yml` template file using HTTP/HTTPS.

SHA256 integrity hash of the remote file content.

Full name of the image that should be used. It should contain the Registry part if needed.

Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagedocker)

Image architecture to pull.

Username or UID to use for the container.

Options to pass to Runners Kubernetes Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#imagekubernetes)

Username or UID to use for the container. It also supports the UID:GID format.

Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#imagepull_policy).

Specifies the docker image to use for the job or globally for all jobs. Job configuration takes precedence over global setting. Requires a certain kind of GitLab runner executor. [Learn More](https://docs.gitlab.com/ci/yaml/#image).

Similar to `image` property, but will link the specified services to the `image` container. [Learn More](https://docs.gitlab.com/ci/yaml/#services).

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/ci/services/#available-settings-for-services)

Options to pass to Runners Docker Executor. [Learn More](https://docs.gitlab.com/ci/yaml/#servicesdocker)

Image architecture to pull.

Specifies how to pull the image in Runner. It can be one of `always`, `never` or `if-not-present`. The default value is `always`. [Learn more](https://docs.gitlab.com/ci/yaml/#servicespull_policy).

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/ci/services/#available-settings-for-services)

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/ci/services/#available-settings-for-services)

Additional environment variables that are passed exclusively to the service. Service variables cannot reference themselves. [Learn More](https://docs.gitlab.com/ci/services/#available-settings-for-services)

Defines JWTs to be injected as environment variables.

Sets a workload identity (experimental), allowing automatic authentication with the external system. [Learn More](https://docs.gitlab.com/ci/yaml/#identity).

Defines secrets to be injected as environment variables. [Learn More](https://docs.gitlab.com/ci/yaml/#secrets).

The secret to be fetched from Vault (e.g. 'production/db/password@ops' translates to secret 'ops/data/production/db', field `password`). [Learn More](https://docs.gitlab.com/ci/yaml/#secretsvault)

Defines the secret version to be fetched from GCP Secret Manager. Name refers to the secret name in GCP secret manager. Version refers to the desired secret version (defaults to 'latest').

Configures the secret to be stored as either a file or variable type CI/CD variable. [Learn More](https://docs.gitlab.com/ci/yaml/#secretsfile)

Specifies the JWT variable that should be used to authenticate with the secret provider.

Defines scripts that should run *before* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#before_script).

Defines scripts that should run *after* the job. Can be set globally or per job. [Learn More](https://docs.gitlab.com/ci/yaml/#after_script).

Rules allows for an array of individual rule objects to be evaluated in order, until one matches and dynamically provides attributes to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rules).

You can use rules to conditionally include other configuration files. [Learn More](https://docs.gitlab.com/ci/yaml/includes/#use-rules-with-include).

Use `when: never` to exclude the configuration file if the condition matches. [Learn More](https://docs.gitlab.com/ci/yaml/includes/#include-with-rulesif).

Defines the pipeline name. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowname).

Define the rules for when pipeline should be automatically cancelled.

Define which jobs to stop after a job fails.

Configure the behavior of the auto-cancel redundant pipelines feature. [Learn More](https://docs.gitlab.com/ci/yaml/#workflowauto_cancelon_new_commit)

Defines default variables for all jobs. Job level property overrides global variables. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).

Default value of the variable. If used with `options`, `value` must be included in the array. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesvalue)

A list of predefined values that users can select from in the **Run pipeline** page when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesoptions)

Explains what the variable is used for, what the acceptable values are. Variables with `description` are prefilled when running a pipeline manually. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesdescription).

If the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand).

Defines variables for a job. [Learn More](https://docs.gitlab.com/ci/yaml/#variables).

Defines if the variable is expandable or not. [Learn More](https://docs.gitlab.com/ci/yaml/#variablesexpand).

Defines variables for a rule result. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesvariables).

Expression to evaluate whether additional attributes should be provided to the job. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesif).

Additional attributes will be provided to job if any of the provided paths matches a modified file. [Learn More](https://docs.gitlab.com/ci/yaml/#ruleschanges).

List of file paths.

Ref for comparing changes.

Additional attributes will be provided to job if any of the provided paths matches an existing file in the repository. [Learn More](https://docs.gitlab.com/ci/yaml/#rulesexists).

List of file paths.

Path of the project to search in.

List of file paths.

Path of the project to search in.

Ref of the project to search in.

Allows you to configure a timeout for a specific job (e.g. `1 minute`, `1h 30m 12s`). [Learn More](https://docs.gitlab.com/ci/yaml/#timeout).

Used in conjunction with 'when: delayed' to set how long to delay before starting a job. e.g. '5', 5 seconds, 30 minutes, 1 week, etc. [Learn More](https://docs.gitlab.com/ci/jobs/job_control/#run-a-job-after-a-delay).

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/ci/yaml/#rulesneeds).

Name of a job that is defined in the pipeline.

Download artifacts of the job in needs.

Whether the job needs to be present in the pipeline to run ahead of the current job.

Allow job to fail. A failed job does not cause the pipeline to fail. [Learn More](https://docs.gitlab.com/ci/yaml/#allow_failure).

Setting this option to true will allow the job to fail while still letting the pipeline pass.

Exit code that are not considered failure. The job fails for any other exit code.

You can list which exit codes are not considered failures. The job fails for any other exit code.

Splits up a single job into multiple that run in parallel. Provides `CI_NODE_INDEX` and `CI_NODE_TOTAL` environment variables to the jobs.

Creates N instances of the job that run in parallel.

Defines different variables for jobs that are running in parallel.

Defines the variables for a specific job.

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/ci/yaml/#needsparallelmatrix)

Describes the conditions for when to run the job. Defaults to 'on_success'. [Learn More](https://docs.gitlab.com/ci/yaml/#when).

on_success on_failure always never manual delayed

Use `cache` to specify a list of files and directories to cache between jobs. You can only use paths that are in the local working copy. [Learn More](https://docs.gitlab.com/ci/yaml/#cache)

Use the `cache:key` keyword to give each cache a unique identifying key. All jobs that use the same cache key use the same cache, including in different pipelines. Must be used with `cache:path`, or nothing is cached. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekey).

Use the `cache:key:files` keyword to generate a new key when one or two specific files change. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyfiles)

Use `cache:key:prefix` to combine a prefix with the SHA computed for `cache:key:files`. [Learn More](https://docs.gitlab.com/ci/yaml/#cachekeyprefix)

Use the `cache:paths` keyword to choose which files or directories to cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepaths)

Determines the strategy for downloading and updating the cache. [Learn More](https://docs.gitlab.com/ci/yaml/#cachepolicy)

Use `unprotect: true` to set a cache to be shared between protected and unprotected branches.

Use `untracked: true` to cache all files that are untracked in your Git repository. [Learn More](https://docs.gitlab.com/ci/yaml/#cacheuntracked)

Defines when to save the cache, based on the status of the job. [Learn More](https://docs.gitlab.com/ci/yaml/#cachewhen).

List of keys to download cache from if no cache hit occurred for key

Filter job by different keywords that determine origin or state, or by supplying string/regex to check against branch/tag names.

When a branch is pushed.

When a tag is pushed.

When a pipeline has been triggered by a second pipelines API (not triggers API).

When using CI services other than GitLab

For multi-project triggers, created using the API with 'CI_JOB_TOKEN'.

Pipeline is triggered by a `git push` by the user

For scheduled pipelines.

For pipelines created using a trigger token.

For pipelines created using *Run pipeline* button in GitLab UI (under your project's *Pipelines*).

String or regular expression to match against tag or branch names.

Filter job based on if Kubernetes integration is active.

Filter job by checking comparing values of CI/CD variables. [Learn More](https://docs.gitlab.com/ci/jobs/job_control/#cicd-variable-expressions).

Filter job creation based on files that were modified in a git push.

Retry a job if it fails. Can be a simple integer or object definition. [Learn More](https://docs.gitlab.com/ci/yaml/#retry).

Either a single or array of error types to trigger job retry. [Learn More](https://docs.gitlab.com/ci/yaml/#retrywhen).

Either a single or array of exit codes to trigger job retry on. [Learn More](https://docs.gitlab.com/ci/yaml/#retryexit_codes).

Retry when the job exit code is included in the array's values.

Retry when the job exit code is equal to.

The number of times the job will be retried if it fails. Defaults to 0 and can max be retried 2 times (3 times total).

Retry on any failure (default).

Retry when the failure reason is unknown.

Retry when the script failed.

Retry on API failure.

Retry when the job got stuck or timed out.

Retry if there is a runner system failure (for example, job setup failed).

Retry if the runner is unsupported.

Retry if a delayed job could not be executed.

Retry if the script exceeded the maximum execution time set for the job.

Retry if the job is archived and can’t be run.

Retry if the job failed to complete prerequisite tasks.

Retry if the scheduler failed to assign the job to a runner.

Retry if there is an unknown job problem.

Interruptible is used to indicate that a job should be canceled if made redundant by a newer pipeline run. [Learn More](https://docs.gitlab.com/ci/yaml/#interruptible).

Used to pass input values to included templates, components, downstream pipelines, or child pipelines. [Learn More](https://docs.gitlab.com/ci/inputs/).

Input parameter value that matches parameter names defined in spec:inputs of the included configuration.

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/ci/yaml/#script)

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.

Define what stage the job will run in.

Job will run *only* when these filtering options match.

The name of one or more jobs to inherit configuration from.

The list of jobs in previous stages whose sole completion is needed to start the current job.

Job will run *except* for when these filtering options match.

Describes the Custom confirmation message for a manual job [Learn More](https://docs.gitlab.com/ci/yaml/#when).

Specify a list of job names from earlier stages from which artifacts should be loaded. By default, all previous artifacts are passed. Use an empty array to skip downloading artifacts.

Used to associate environment metadata with a deploy. Environment can have a name and URL attached to it, and will be displayed under /environments under the project.

The name of the environment, e.g. 'qa', 'staging', 'production'.

When set, this will expose buttons in various places for the current environment in GitLab, that will take you to the defined URL.

The name of a job to execute when the environment is about to be stopped.

Specifies what this job will do. 'start' (default) indicates the job will start the deployment. 'prepare'/'verify'/'access' indicates this will not affect the deployment. 'stop' indicates this will stop the deployment.

The amount of time it should take before GitLab will automatically stop the environment. 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'.

Used to configure the kubernetes deployment for this environment. This is currently not supported for kubernetes clusters that are managed by GitLab.

The kubernetes namespace where this environment should be deployed to.

Specifies the GitLab Agent for Kubernetes. The format is `path/to/agent/project:agent-name`.

The Flux resource path to associate with this environment. This must be the full resource path. For example, 'helm.toolkit.fluxcd.io/v2/namespaces/gitlab-agent/helmreleases/gitlab-agent'.

Explicitly specifies the tier of the deployment environment if non-standard environment name is used.

production staging testing development other

Indicates that the job creates a Release.

The tag_name must be specified. It can refer to an existing Git tag or can be specified by the user.

Message to use if creating a new annotated tag.

Specifies the longer description of the Release.

The Release name. If omitted, it is populated with the value of release: tag_name.

If the release: tag_name doesn’t exist yet, the release is created from ref. ref can be a commit SHA, another tag name, or a branch name.

The title of each milestone the release is associated with.

The date and time when the release is ready. Defaults to the current date and time if not defined. Should be enclosed in quotes and expressed in ISO 8601 format.

Include asset links in the release.

The name of the link.

The URL to download a file.

The redirect link to the url.

The content kind of what users can download via url.

Must be a regular expression, optionally but recommended to be quoted, and must be surrounded with '/'. Example: '/Code coverage: \d+\.\d+/'

Limit job concurrency. Can be used to ensure that the Runner will not run certain jobs simultaneously.

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/ci/yaml/#trigger).

Trigger a multi-project pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#multi-project-pipelines).

Path to the project, e.g. `group/project`, or `group/sub-group/project`.

The branch name that a downstream pipeline will use

You can mirror the pipeline status from the triggered pipeline to the source bridge job by using strategy: depend

Specify what to forward to the downstream pipeline.

Variables defined in the trigger job are passed to downstream pipelines.

Variables added for manual pipeline runs and scheduled pipelines are passed to downstream pipelines.

Trigger a child pipeline. [Learn More](https://docs.gitlab.com/ci/pipelines/downstream_pipelines/#parent-child-pipelines).

Relative path from local repository root (`/`) to the local YAML file to define the pipeline configuration.

References a local file or an artifact from another job to define the pipeline configuration.

Name of the template YAML file to use in the pipeline configuration.

Relative path to the generated YAML file which is extracted from the artifacts and used as the configuration for triggering the child pipeline.

Job name which generates the artifact

Path to another private project under the same GitLab instance, like `group/project` or `group/sub-group/project`.

Branch/Tag/Commit hash for the target project.

Relative path from repository root (`/`) to the pipeline configuration YAML file.

Local path to component directory or full path to external component directory.

URL to a `yaml`/`yml` template file using HTTP/HTTPS.

Path to the project, e.g. `group/project`, or `group/sub-group/project`. [Learn More](https://docs.gitlab.com/ci/yaml/#trigger).

Controls inheritance of globally-defined defaults and variables. Boolean values control inheritance of all default: or variables: keywords. To inherit only a subset of default: or variables: keywords, specify what you wish to inherit. Anything not listed is not inherited. [Learn More](https://docs.gitlab.com/ci/yaml/#inherit).

Whether to inherit all globally-defined defaults or not. Or subset of inherited defaults. [Learn more](https://docs.gitlab.com/ci/yaml/#inheritdefault).

after_script artifacts before_script cache image interruptible retry services tags timeout

Whether to inherit all globally-defined variables or not. Or subset of inherited variables. [Learn More](https://docs.gitlab.com/ci/yaml/#inheritvariables).

Deprecated. Use `pages.publish` instead. A path to a directory that contains the files to be published with Pages.

The GitLab Pages URL path prefix used in this version of pages. The given value is converted to lowercase, shortened to 63 bytes, and everything except alphanumeric characters is replaced with a hyphen. Leading and trailing hyphens are not permitted.

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/ci/yaml/#pagesexpire_in).

A path to a directory that contains the files to be published with Pages.

Whether this job should trigger a Pages deploy (Replaces the need to name the job `pages`)

Used to select runners from the list of available runners. A runner must have all tags listed here to run the job. [Learn More](https://docs.gitlab.com/ci/yaml/#tags).

Specifies lists of commands to execute on the runner at certain stages of job execution. [Learn More](https://docs.gitlab.com/ci/yaml/#hooks).

Specifies a list of commands to execute on the runner before updating the Git repository and any submodules. [Learn More](https://docs.gitlab.com/ci/yaml/#hookspre_get_sources_script).

Any of these step use cases are valid.

Run a referenced step.

Run a sequence of steps.

Run an action.

Run a script.

Exec a binary.

Exec is a command to run.

GitReference is a reference to a step in a Git repository.

OCIReference is a reference to a step hosted in an OCI repository.

The <host>[:<port>] of the container registry server.

A path within the registry containing related OCI images. Typically the namespace, project, and image name.

A pointer to the image manifest hosted in the OCI repository.

A directory inside the OCI image where the step can be found.

The name of the file that defines the step, defaults to step.yml.

Command are the parameters to the system exec API. It does not invoke a shell.

WorkDir is the working directly in which `command` will be exec'ed.

Provide a JSON object that satisfies the schema "ci". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://json.schemastore.org/cibuildwheel.json","description":"cibuildwheel's toml file, uses the same source as pyproject.toml.","type":"object","additionalProperties":false,"properties":{"tool":{"type":"object","additionalProperties":false,"properties":{"cibuildwheel":{"$ref":"https://json.schemastore.org/partial-cibuildwheel.json"}}}}}
</schema>

[User] Provide a JSON object that satisfies the schema "cibuildwheel". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

cibuildwheel's toml file, uses the same source as pyproject.toml.

Provide a JSON object that satisfies the schema "cibuildwheel". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$id":"http://www.ibm.com/xmlns/prod/cics/cicstags","$schema":"http://json-schema.org/draft-07/schema#","title":"CICS region tagging file JSON Schema.","description":"Super-schema that describes all versions of 'CICS region tagging file JSON Schema.'","allOf":[{"title":"CICS region tagging file JSON Schema.","description":"Schema that describes the contents of a CICS region tagging file.","if":{"properties":{"schemaVersion":{"const":"regionTagging/1.0.0"}}},"then":{"$ref":"cicstags/cicstags-1.0.0.json"}}]}
</schema>

[User] Provide a JSON object that satisfies the schema "CICS region tagging file JSON Schema.". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

CICS region tagging file JSON Schema.

Super-schema that describes all versions of 'CICS region tagging file JSON Schema.'

CICS region tagging file JSON Schema.

Schema that describes the contents of a CICS region tagging file.

Provide a JSON object that satisfies the schema "CICS region tagging file JSON Schema.". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$id":"http://www.ibm.com/xmlns/prod/cics/cicsts-resourceimport","$schema":"http://json-schema.org/draft-07/schema#","title":"Resource import JSON Schema.","description":"Super-schema that describes all versions of 'Resource import JSON Schema.'","allOf":[{"title":"Resource import JSON Schema.","description":"Schema that describes the structure of a resource import document.","if":{"properties":{"schemaVersion":{"const":"resourceImport/1.0"}}},"then":{"$ref":"cicsts-resourceimport/cicsts-resourceimport-1.0.1.json"}}]}
</schema>

[User] Provide a JSON object that satisfies the schema "Resource import JSON Schema.". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Resource import JSON Schema.

Super-schema that describes all versions of 'Resource import JSON Schema.'

Resource import JSON Schema.

Schema that describes the structure of a resource import document.

Provide a JSON object that satisfies the schema "Resource import JSON Schema.". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.


[System]
You are a helpful assistant that answers strictly in JSON. Here's the JSON schema you must adhere to:
<schema>
{"$id":"http://www.ibm.com/xmlns/prod/cics/cicsts-resourcemodel","$schema":"http://json-schema.org/draft-07/schema#","title":"Resource model JSON Schema.","description":"Super-schema that describes all versions of 'Resource model JSON Schema.'","allOf":[{"title":"Resource model JSON Schema.","description":"Schema that describes the structure of a resource model document.","if":{"properties":{"schemaVersion":{"const":"resourceModel/1.0"}}},"then":{"$ref":"cicsts-resourcemodel/cicsts-resourcemodel-1.0.1.json"}}]}
</schema>

[User] Provide a JSON object that satisfies the schema "Resource model JSON Schema.". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.

Resource model JSON Schema.

Super-schema that describes all versions of 'Resource model JSON Schema.'

Resource model JSON Schema.

Schema that describes the structure of a resource model document.

Provide a JSON object that satisfies the schema "Resource model JSON Schema.". Here are the required top‑level fields: none (all optional). Return only the valid JSON object.