@@ -26,21 +26,26 @@ steps:
2626 - prepare
2727 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
2828 args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create']
29- - id : converge disable-client-cert-local
29+ - id : init disable-client-cert
3030 waitFor :
31- - create all
31+ - prepare
3232 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
33- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge disable-client-cert-local ']
34- - id : verify disable-client-cert-local
33+ args : ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage init --verbose --test-dir test/integration ']
34+ - id : apply disable-client-cert
3535 waitFor :
36- - converge disable-client-cert-local
36+ - init disable-client-cert
3737 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
38- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify disable-client-cert-local ']
39- - id : destroy disable-client-cert-local
38+ args : ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage apply --verbose --test-dir test/integration ']
39+ - id : verify disable-client-cert
4040 waitFor :
41- - verify disable-client-cert-local
41+ - apply disable-client-cert
4242 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
43- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy disable-client-cert-local']
43+ args : ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage verify --verbose --test-dir test/integration']
44+ - id : teardown disable-client-cert
45+ waitFor :
46+ - verify disable-client-cert
47+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
48+ args : ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage teardown --verbose --test-dir test/integration']
4449- id : converge shared-vpc-local
4550 waitFor :
4651 - create all
@@ -222,21 +227,26 @@ steps:
222227 - verify workload-metadata-config-local
223228 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
224229 args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy workload-metadata-config-local']
225- - id : converge beta-cluster-local
230+ - id : init beta-cluster
226231 waitFor :
227- - create all
232+ - prepare
233+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
234+ args : ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage init --verbose --test-dir test/integration']
235+ - id : apply beta-cluster
236+ waitFor :
237+ - init beta-cluster
228238 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
229- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge beta-cluster-local ']
230- - id : verify beta-cluster-local
239+ args : ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage apply --verbose --test-dir test/integration ']
240+ - id : verify beta-cluster
231241 waitFor :
232- - converge beta-cluster-local
242+ - apply beta-cluster
233243 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
234- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify beta-cluster-local ']
235- - id : destroy beta-cluster-local
244+ args : ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage verify --verbose --test-dir test/integration ']
245+ - id : teardown beta-cluster
236246 waitFor :
237- - verify beta-cluster-local
247+ - verify beta-cluster
238248 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
239- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy beta-cluster-local ']
249+ args : ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage teardown --verbose --test-dir test/integration ']
240250- id : converge simple-windows-node-pool-local
241251 waitFor :
242252 - create all
@@ -372,11 +382,34 @@ steps:
372382 - verify simple-autopilot-public-local
373383 name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
374384 args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy simple-autopilot-public-local']
385+ - id : init private-zonal-with-networking
386+ waitFor :
387+ - prepare
388+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
389+ args : ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage init --verbose --test-dir test/integration']
390+ - id : apply private-zonal-with-networking
391+ waitFor :
392+ - init private-zonal-with-networking
393+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
394+ args : ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage apply --verbose --test-dir test/integration']
395+ - id : verify private-zonal-with-networking
396+ waitFor :
397+ - apply private-zonal-with-networking
398+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
399+ args : ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage verify --verbose --test-dir test/integration']
400+ - id : teardown private-zonal-with-networking
401+ waitFor :
402+ - verify private-zonal-with-networking
403+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
404+ args : ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage teardown --verbose --test-dir test/integration']
405+
406+
407+
375408tags :
376409- ' ci'
377410- ' integration'
378411substitutions :
379412 _DOCKER_IMAGE_DEVELOPER_TOOLS : ' cft/developer-tools'
380- _DOCKER_TAG_VERSION_DEVELOPER_TOOLS : ' 1.5 '
413+ _DOCKER_TAG_VERSION_DEVELOPER_TOOLS : ' 1.8 '
381414options :
382415 machineType : ' N1_HIGHCPU_8'
0 commit comments