@@ -21,18 +21,226 @@ steps:
2121 - ' TF_VAR_org_id=$_ORG_ID'
2222 - ' TF_VAR_folder_id=$_FOLDER_ID'
2323 - ' TF_VAR_billing_account=$_BILLING_ACCOUNT'
24- - id : create
24+ - id : create-it-simple-local
25+ wait_for :
26+ - prepare
2527 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
26- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create']
27- - id : converge
28+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create it-simple-local']
29+ - id : converge-it-simple-local
30+ wait_for :
31+ - create-it-simple-local
2832 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
29- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge']
30- - id : verify
33+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge it-simple-local']
34+ - id : verify-it-simple-local
35+ wait_for :
36+ - converge-it-simple-local
3137 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
32- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify']
33- - id : destroy
38+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify it-simple-local']
39+ - id : destroy-it-simple-local
40+ wait_for :
41+ - verify-it-simple-local
3442 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
35- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy']
43+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy it-simple-local']
44+ - id : create-it-additional-disks-local
45+ wait_for :
46+ - prepare
47+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
48+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create it-additional-disks-local']
49+ - id : converge-it-additional-disks-local
50+ wait_for :
51+ - create-it-additional-disks-local
52+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
53+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge it-additional-disks-local']
54+ - id : verify-it-additional-disks-local
55+ wait_for :
56+ - converge-it-additional-disks-local
57+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
58+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify it-additional-disks-local']
59+ - id : destroy-it-additional-disks-local
60+ wait_for :
61+ - verify-it-additional-disks-local
62+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
63+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy it-additional-disks-local']
64+ - id : create-preemptible-and-regular-instance-templates-simple-local
65+ wait_for :
66+ - prepare
67+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
68+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create preemptible-and-regular-instance-templates-simple-local']
69+ - id : converge-preemptible-and-regular-instance-templates-simple-local
70+ wait_for :
71+ - create-preemptible-and-regular-instance-templates-simple-local
72+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
73+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge preemptible-and-regular-instance-templates-simple-local']
74+ - id : verify-preemptible-and-regular-instance-templates-simple-local
75+ wait_for :
76+ - converge-preemptible-and-regular-instance-templates-simple-local
77+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
78+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify preemptible-and-regular-instance-templates-simple-local']
79+ - id : destroy-preemptible-and-regular-instance-templates-simple-local
80+ wait_for :
81+ - verify-preemptible-and-regular-instance-templates-simple-local
82+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
83+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy preemptible-and-regular-instance-templates-simple-local']
84+ - id : create-instance-simple-local
85+ wait_for :
86+ - prepare
87+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
88+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create instance-simple-local']
89+ - id : converge-instance-simple-local
90+ wait_for :
91+ - create-instance-simple-local
92+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
93+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge instance-simple-local']
94+ - id : verify-instance-simple-local
95+ wait_for :
96+ - converge-instance-simple-local
97+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
98+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify instance-simple-local']
99+ - id : destroy-instance-simple-local
100+ wait_for :
101+ - verify-instance-simple-local
102+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
103+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy instance-simple-local']
104+ - id : create-mig-simple-local
105+ wait_for :
106+ - prepare
107+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
108+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create mig-simple-local']
109+ - id : converge-mig-simple-local
110+ wait_for :
111+ - create-mig-simple-local
112+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
113+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge mig-simple-local']
114+ - id : verify-mig-simple-local
115+ wait_for :
116+ - converge-mig-simple-local
117+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
118+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify mig-simple-local']
119+ - id : destroy-mig-simple-local
120+ wait_for :
121+ - verify-mig-simple-local
122+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
123+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy mig-simple-local']
124+ - id : create-mig-autoscaler-local
125+ wait_for :
126+ - destroy-it-simple-local
127+ - destroy-it-additional-disks-local
128+ - destroy-preemptible-and-regular-instance-templates-simple-local
129+ - destroy-instance-simple-local
130+ - destroy-mig-simple-local
131+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
132+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create mig-autoscaler-local']
133+ - id : converge-mig-autoscaler-local
134+ wait_for :
135+ - create-mig-autoscaler-local
136+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
137+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge mig-autoscaler-local']
138+ - id : verify-mig-autoscaler-local
139+ wait_for :
140+ - converge-mig-autoscaler-local
141+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
142+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify mig-autoscaler-local']
143+ - id : destroy-mig-autoscaler-local
144+ wait_for :
145+ - verify-mig-autoscaler-local
146+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
147+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy mig-autoscaler-local']
148+ - id : create-umig-simple-local
149+ wait_for :
150+ - destroy-it-simple-local
151+ - destroy-it-additional-disks-local
152+ - destroy-preemptible-and-regular-instance-templates-simple-local
153+ - destroy-instance-simple-local
154+ - destroy-mig-simple-local
155+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
156+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create umig-simple-local']
157+ - id : converge-umig-simple-local
158+ wait_for :
159+ - create-umig-simple-local
160+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
161+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge umig-simple-local']
162+ - id : verify-umig-simple-local
163+ wait_for :
164+ - converge-umig-simple-local
165+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
166+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify umig-simple-local']
167+ - id : destroy-umig-simple-local
168+ wait_for :
169+ - verify-umig-simple-local
170+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
171+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy umig-simple-local']
172+ - id : create-umig-named-ports-local
173+ wait_for :
174+ - destroy-it-simple-local
175+ - destroy-it-additional-disks-local
176+ - destroy-preemptible-and-regular-instance-templates-simple-local
177+ - destroy-instance-simple-local
178+ - destroy-mig-simple-local
179+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
180+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create umig-named-ports-local']
181+ - id : converge-umig-named-ports-local
182+ wait_for :
183+ - create-umig-named-ports-local
184+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
185+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge umig-named-ports-local']
186+ - id : verify-umig-named-ports-local
187+ wait_for :
188+ - converge-umig-named-ports-local
189+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
190+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify umig-named-ports-local']
191+ - id : destroy-umig-named-ports-local
192+ wait_for :
193+ - verify-umig-named-ports-local
194+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
195+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy umig-named-ports-local']
196+ - id : create-umig-static-ips-local
197+ wait_for :
198+ - destroy-it-simple-local
199+ - destroy-it-additional-disks-local
200+ - destroy-preemptible-and-regular-instance-templates-simple-local
201+ - destroy-instance-simple-local
202+ - destroy-mig-simple-local
203+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
204+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create umig-static-ips-local']
205+ - id : converge-umig-static-ips-local
206+ wait_for :
207+ - create-umig-static-ips-local
208+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
209+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge umig-static-ips-local']
210+ - id : verify-umig-static-ips-local
211+ wait_for :
212+ - converge-umig-static-ips-local
213+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
214+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify umig-static-ips-local']
215+ - id : destroy-umig-static-ips-local
216+ wait_for :
217+ - verify-umig-static-ips-local
218+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
219+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy umig-static-ips-local']
220+ - id : create-mig-with-percent-simple-local
221+ wait_for :
222+ - destroy-it-simple-local
223+ - destroy-it-additional-disks-local
224+ - destroy-preemptible-and-regular-instance-templates-simple-local
225+ - destroy-instance-simple-local
226+ - destroy-mig-simple-local
227+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
228+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create mig-with-percent-simple-local']
229+ - id : converge-mig-with-percent-simple-local
230+ wait_for :
231+ - create-mig-with-percent-simple-local
232+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
233+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge mig-with-percent-simple-local']
234+ - id : verify-mig-with-percent-simple-local
235+ wait_for :
236+ - converge-mig-with-percent-simple-local
237+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
238+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify mig-with-percent-simple-local']
239+ - id : destroy-mig-with-percent-simple-local
240+ wait_for :
241+ - verify-mig-with-percent-simple-local
242+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
243+ args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy mig-with-percent-simple-local']
36244tags :
37245- ' ci'
38246- ' integration'
0 commit comments