Open .pipelines/deploy-infra.yml
. The initial version is
stages:
- stage: dev
jobs:
- template: templates/list-and-run.yml
parameters:
directory: dev
- stage: qa
jobs:
- template: templates/list-and-run.yml
parameters:
directory: qa
- stage: prod
jobs:
- template: templates/list-and-run.yml
parameters:
directory: prod
You can add, remove or rearrange the sequence following the sample. For instance, to add a canary stage, create canary
folder first, add a .gitignore
file in the folder and edit .pipelines/deploy-infra.yml
to the following.
stages:
- stage: dev
jobs:
- template: templates/list-and-run.yml
parameters:
directory: dev
- stage: qa
jobs:
- template: templates/list-and-run.yml
parameters:
directory: qa
- stage: canary
jobs:
- template: templates/list-and-run.yml
parameters:
directory: canary
- stage: prod
jobs:
- template: templates/list-and-run.yml
parameters:
directory: prod
Learn more: