Vela Pipeline Configuration
Vela Pipeline Configuration File
| Type | object |
|---|---|
| File match |
.vela.yml
.vela.yaml
|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/vela-pipeline-configuration/latest.json |
| Source | https://github.com/go-vela/server/releases/latest/download/schema.json |
Validate with Lintel
npx @lintel/lintel check
Properties
Provide syntax version used to evaluate the pipeline. Reference: https://go-vela.github.io/docs/reference/yaml/version/
5 nested properties
Enables compiling the pipeline as a template. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-template-key
Enables inline compiling for the pipeline templates. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-render-inline-key
Enables injecting the default clone process. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-clone-key
Controls which containers processes can have global env injected. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-environment-key
3 nested properties
Enables auto canceling of running pipelines that become stale due to new push. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Enables auto canceling of queued pipelines that become stale due to new push. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Enables auto canceling of queued or running pipelines that become stale due to new push to default branch. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
2 nested properties
Flavor identifier for worker. Reference: https://go-vela.github.io/docs/reference/yaml/worker/#the-flavor-key
Platform identifier for the worker. Reference: https://go-vela.github.io/docs/reference/yaml/worker/#the-platform-key
3 nested properties
2 nested properties
Unique identifier for the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
Variables injected into the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
1 nested properties
2 nested properties
Provide a list of repositories to clone. Reference: https://go-vela.github.io/docs/reference/yaml/git/#repositories
Provide a list of repository permissions to apply to the git token. Reference: https://go-vela.github.io/docs/reference/yaml/git/#permissions
One of
Definitions
Enables auto canceling of running pipelines that become stale due to new push. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Enables auto canceling of queued pipelines that become stale due to new push. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Enables auto canceling of queued or running pipelines that become stale due to new push to default branch. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
2 nested properties
Unique identifier for the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
Variables injected into the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
2 nested properties
Provide a list of repositories to clone. Reference: https://go-vela.github.io/docs/reference/yaml/git/#repositories
Provide a list of repository permissions to apply to the git token. Reference: https://go-vela.github.io/docs/reference/yaml/git/#permissions
Enables compiling the pipeline as a template. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-template-key
Enables inline compiling for the pipeline templates. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-render-inline-key
Enables injecting the default clone process. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-clone-key
Controls which containers processes can have global env injected. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-environment-key
3 nested properties
Enables auto canceling of running pipelines that become stale due to new push. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Enables auto canceling of queued pipelines that become stale due to new push. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Enables auto canceling of queued or running pipelines that become stale due to new push to default branch. Reference: https://go-vela.github.io/docs/reference/yaml/metadata/#the-auto-cancel-key
Docker image to use to create the ephemeral container. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-image-key
Unique name for the secret origin. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-name-key
Extra configuration variables for the secret plugin. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-parameters-key
Declaration to configure if and when the Docker image is pulled. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-pull-key
Request ID Request Token for the secret origin. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-id_request-key
Description of the parameter. Reference: https://go-vela.github.io/docs/reference/yaml/deployments/#the-parameters-key
Type of the parameter. Reference: https://go-vela.github.io/docs/reference/yaml/deployments/#the-parameters-key
Flag indicating if the parameter is required. Reference: https://go-vela.github.io/docs/reference/yaml/deployments/#the-parameters-key
Minimum value for the parameter. Reference: https://go-vela.github.io/docs/reference/yaml/deployments/#the-parameters-key
Maximum value for the parameter. Reference: https://go-vela.github.io/docs/reference/yaml/deployments/#the-parameters-key
Limits the execution of a step to matching build branches. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching a pull request comment. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching build events. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching files changed in a repository. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching repos. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching build senders. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching build statuses. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching build tag references. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits the execution of a step to matching build deployment targets. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits step execution to match on pull requests labels. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Limits step execution to match on certain instances. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
The expression to evaluate the ruleset against. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Whether all rule conditions must be met or just any one of them. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Use the defined matching method. Reference: coming soon
Limits the execution of a step to continuing on any failure. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-ruleset-key
Docker image used to create ephemeral container. Reference: https://go-vela.github.io/docs/reference/yaml/services/#the-image-key
Unique identifier for the container in the pipeline. Reference: https://go-vela.github.io/docs/reference/yaml/services/#the-name-key
Declaration to configure if and when the Docker image is pulled. Reference: https://go-vela.github.io/docs/reference/yaml/services/#the-pul-key
Set the user for the container. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-user-key
Unique identifier for the stage in the pipeline. Reference: https://go-vela.github.io/docs/reference/yaml/stages/#the-name-key
Stage will continue executing if other stage fails
Unique name for the step. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-name-key
2 nested properties
Unique identifier for the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
Variables injected into the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
1 nested properties
Docker image to use to create the ephemeral container. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-image-key
Declaration to configure if and when the Docker image is pulled. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-pull-key
Extra configuration variables for a plugin. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-parameters-key
Run the container in a detached (headless) state. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-detach-key
Run the container with extra privileges. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-privileged-key
Set the user for the container. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-user-key
Set the name of the step to report as. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-report_as-key
Request ID Request Token for the step. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-id_request-key
1 nested properties
2 nested properties
Provide a list of repositories to clone. Reference: https://go-vela.github.io/docs/reference/yaml/git/#repositories
Provide a list of repository permissions to apply to the git token. Reference: https://go-vela.github.io/docs/reference/yaml/git/#permissions
Unique identifier for the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
Variables injected into the template. Reference: https://go-vela.github.io/docs/reference/yaml/steps/#the-template-key
Unique identifier for the template. Reference: https://go-vela.github.io/docs/reference/yaml/templates/#the-name-key
Path to template in remote system. Reference: https://go-vela.github.io/docs/reference/yaml/templates/#the-source-key
language used within the template file Reference: https://go-vela.github.io/docs/reference/yaml/templates/#the-format-key
Type of template provided from the remote system. Reference: https://go-vela.github.io/docs/reference/yaml/templates/#the-type-key
Variables injected into the template. Reference: https://go-vela.github.io/docs/reference/yaml/templates/#the-variables-key
Provide a list of repositories to clone. Reference: https://go-vela.github.io/docs/reference/yaml/git/#repositories
Provide a list of repository permissions to apply to the git token. Reference: https://go-vela.github.io/docs/reference/yaml/git/#permissions
Flavor identifier for worker. Reference: https://go-vela.github.io/docs/reference/yaml/worker/#the-flavor-key
Platform identifier for the worker. Reference: https://go-vela.github.io/docs/reference/yaml/worker/#the-platform-key