forked from olohmann/terraform-azuredevops-reference
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.azure-pipeline.yaml
31 lines (30 loc) · 945 Bytes
/
.azure-pipeline.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# IMPORTANT:
# To skip a stage, you can use the "Run Pipeline" dialog and pass a variable for each stage:
# deploy_skip_dev = [true|false]
# deploy_skip_qa = [true|false]
# deploy_skip_prod = [true|false]
# Alternatively, hard-code it in the variables block here. Note that, if the value is hard-coded
# in YAML, you cannot override it during the "Run Pipeline" dialog.
# variables:
# - name: deploy_skip_dev
# value: false
# - name: deploy_skip_qa
# value: true
# - name: deploy_skip_prod
# value: true
name: IaC-Terraform-$(Date:yyyy-MM-dd)$(Rev:.r)
trigger: none
pr: none
variables:
- name: deploy_skip_dev
value: false
- name: deploy_skip_qa
value: true
- name: deploy_skip_prod
value: true
- group: IaC_Shared_Variables
- group: IaC_Terraform_Backend_Variables
stages:
- template: pipeline-templates/stages-end-to-end-template.yaml
parameters:
azureSubscription: '$(Service_Connection_Name)'