-
Notifications
You must be signed in to change notification settings - Fork 80
/
Copy pathazure-pipelines.yml
67 lines (62 loc) · 1.55 KB
/
azure-pipelines.yml
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
trigger:
batch: true
branches:
include:
- master
paths:
include:
- /infra/modules/*
- /infra/templates/*
- /test/*
exclude:
- devops/*
- design-reference/*
- /**/*.md
- /test/docker/*
pr:
autoCancel: false
branches:
include:
- master
paths:
include:
- /infra/modules/*
- /infra/templates/*
- /test/*
exclude:
- devops/*
- design-reference/*
- /**/*.md
- /test/docker/*
variables:
- name: 'TF_VERSION'
value: '0.12.24'
- name: 'GO_VERSION'
value: '1.12.14'
- name: 'TF_ROOT_DIR'
value: 'infra'
- name: 'PIPELINE_ROOT_DIR'
value: 'devops/providers/azure-devops/templates/infrastructure'
- name: 'TEST_HARNESS_DIR'
value: 'test-harness'
- group: 'Infrastructure Pipeline Variables'
stages:
- template: infrastructure/prepare-stage.yml
parameters:
environments:
- name: 'devint'
enablePrIsolation: true # set to true if you want PRs to be isolated, false otherwise
resourceNameIsolationLevel: 8
configurations:
- jobName: az_hw
terraformTemplatePath: infra/templates/az-hello-world
terraformWorkspacePrefix: hw
deploymentTimeoutInMinutes: 10 # Not supported as a Variable :-(
environmentsToTeardownAfterRelease:
- 'devint'
- jobName: az_svc_sr
terraformTemplatePath: infra/templates/az-service-single-region
terraformWorkspacePrefix: sr
deploymentTimeoutInMinutes: 60 # Not supported as a Variable :-(
environmentsToTeardownAfterRelease:
- 'devint'