@@ -61,21 +61,26 @@ steps:
61
61
- verify shared-vpc-local
62
62
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
63
63
args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy shared-vpc-local']
64
- - id : converge safer-cluster-local
64
+ - id : init safer-cluster-local
65
65
waitFor :
66
66
- create all
67
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 converge safer-cluster-local']
68
+ args : ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage init --verbose']
69
+ - id : apply safer-cluster-local
70
+ waitFor :
71
+ - init safer-cluster-local
72
+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
73
+ args : ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage apply --verbose']
69
74
- id : verify safer-cluster-local
70
75
waitFor :
71
- - converge safer-cluster-local
76
+ - apply safer-cluster-local
72
77
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 verify safer-cluster-local ']
78
+ args : ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage verify --verbose ']
74
79
- id : destroy safer-cluster-local
75
80
waitFor :
76
81
- verify safer-cluster-local
77
82
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 destroy safer-cluster-local ']
83
+ args : ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage destroy --verbose ']
79
84
- id : converge simple-regional-local
80
85
waitFor :
81
86
- create all
@@ -276,21 +281,26 @@ steps:
276
281
- verify simple-windows-node-pool-local
277
282
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
278
283
args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy simple-windows-node-pool-local']
279
- - id : converge deploy-service-local
284
+ - id : init deploy-service-local
280
285
waitFor :
281
286
- create all
282
287
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
283
- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge deploy-service-local']
288
+ args : ['/bin/bash', '-c', 'cft test run TestDeployService --stage init --verbose']
289
+ - id : apply deploy-service-local
290
+ waitFor :
291
+ - init deploy-service-local
292
+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
293
+ args : ['/bin/bash', '-c', 'cft test run TestDeployService --stage apply --verbose']
284
294
- id : verify deploy-service-local
285
295
waitFor :
286
- - converge deploy-service-local
296
+ - apply deploy-service-local
287
297
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
288
- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify deploy-service-local ']
298
+ args : ['/bin/bash', '-c', 'cft test run TestDeployService --stage verify --verbose ']
289
299
- id : destroy deploy-service-local
290
300
waitFor :
291
301
- verify deploy-service-local
292
302
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
293
- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy deploy-service-local ']
303
+ args : ['/bin/bash', '-c', 'cft test run TestDeployService --stage destroy --verbose ']
294
304
- id : converge node-pool-local
295
305
waitFor :
296
306
- create all
@@ -306,21 +316,26 @@ steps:
306
316
- verify node-pool-local
307
317
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
308
318
args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy node-pool-local']
309
- - id : converge sandbox-enabled-local
319
+ - id : init sandbox-enabled-local
310
320
waitFor :
311
321
- create all
312
322
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
313
- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do converge sandbox-enabled-local']
323
+ args : ['/bin/bash', '-c', 'cft test run TestSandboxEnabled --stage init --verbose']
324
+ - id : apply sandbox-enabled-local
325
+ waitFor :
326
+ - init sandbox-enabled-local
327
+ name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
328
+ args : ['/bin/bash', '-c', 'cft test run TestSandboxEnabled --stage apply --verbose']
314
329
- id : verify sandbox-enabled-local
315
330
waitFor :
316
- - converge sandbox-enabled-local
331
+ - apply sandbox-enabled-local
317
332
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
318
- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do verify sandbox-enabled-local ']
333
+ args : ['/bin/bash', '-c', 'cft test run TestSandboxEnabled --stage verify --verbose ']
319
334
- id : destroy sandbox-enabled-local
320
335
waitFor :
321
336
- verify sandbox-enabled-local
322
337
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
323
- args : ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy sandbox-enabled-local ']
338
+ args : ['/bin/bash', '-c', 'cft test run TestSandboxEnabled --stage destroy --verbose ']
324
339
- id : converge workload-identity-local
325
340
waitFor :
326
341
- create all
0 commit comments