Skip to content

stages

Grouping used to organize jobs.

stages: [ name | notes | variables | jobs ]

This can be used to separate jobs by function or some other grouping. For example, prepare, deploy, verify. The name for the stage will appear in the logs as part of the namespace context.

For simple dataflows, typically stages are not used and as a result default to the implied value of stages.0 in namespace context references.

Example

The following YAML snippet shows stages used in a dataflow:

name: my_pipeline
stages:
  - name: first_stage
    jobs:
      - name: first_job
      - name: second_job
  - name: second_stage
    jobs:
      - name: another_job

stages properties