This repository has been archived by the owner on Nov 14, 2024. It is now read-only.
forked from nat-henderson/terraform-provider-google-ci
-
Notifications
You must be signed in to change notification settings - Fork 1
/
terraform-ci-pipeline.yml
88 lines (82 loc) · 2.05 KB
/
terraform-ci-pipeline.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
resources:
- name: terraform-provider-google
type: git
source:
uri: https://github.com/terraform-providers/terraform-provider-google.git
branch: master
- name: one-off-terraform-provider-google
type: git
source:
uri: https://github.com/terraform-providers/terraform-provider-google.git
branch: one-off
- name: ci
type: git
source:
uri: https://github.com/rosbo/terraform-provider-google-ci.git
branch: master
jobs:
- name: build
plan:
- aggregate:
- get: terraform-provider-google
trigger: true
- get: ci
trigger: true
- task: run-build
file: ci/build/task.yml
- name: unit-tests
plan:
- aggregate:
- get: terraform-provider-google
trigger: true
passed: [build]
- get: ci
trigger: true
passed: [build]
- task: run-unit-tests
file: ci/unit-tests/task.yml
- name: acceptance-tests
serial_groups: ["gcp"]
plan:
- aggregate:
- get: terraform-provider-google
trigger: true
passed: [unit-tests]
- get: ci
trigger: true
passed: [unit-tests]
- task: run-acceptance-tests
file: ci/acceptance-tests/task.yml
- name: one-off-build
plan:
- aggregate:
- get: terraform-provider-google
resource: one-off-terraform-provider-google
version: every
trigger: true
- get: ci
- task: run-build
file: ci/build/task.yml
- name: one-off-unit-tests
plan:
- aggregate:
- get: terraform-provider-google
resource: one-off-terraform-provider-google
version: every
trigger: true
passed: [one-off-build]
- get: ci
- task: run-unit-tests
file: ci/unit-tests/task.yml
- name: one-off-acceptance-tests
serial_groups: ["gcp"]
plan:
- aggregate:
- get: terraform-provider-google
resource: one-off-terraform-provider-google
version: every
trigger: true
passed: [one-off-unit-tests]
- get: ci
- task: run-acceptance-tests
file: ci/acceptance-tests/task.yml