1
- # Copyright 2019 Google LLC
1
+ # Copyright 2024 Google LLC
2
2
#
3
3
# Licensed under the Apache License, Version 2.0 (the "License");
4
4
# you may not use this file except in compliance with the License.
@@ -21,18 +21,20 @@ steps:
21
21
- ' TF_VAR_org_id=$_ORG_ID'
22
22
- ' TF_VAR_folder_id=$_FOLDER_ID'
23
23
- ' TF_VAR_billing_account=$_BILLING_ACCOUNT'
24
- - id : simple-example-init
24
+
25
+ # Bootstrap
26
+ - id : bootstrap-init
25
27
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
26
- args : ['/bin/bash', '-c', 'cft test run TestSimpleExample --stage init --verbose']
27
- - id : simple-example -apply
28
+ args : ['/bin/bash', '-c', 'cft test run TestBootstrap --stage init --verbose']
29
+ - id : bootstrap -apply
28
30
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
29
- args : ['/bin/bash', '-c', 'cft test run TestSimpleExample --stage apply --verbose']
30
- - id : simple-example -verify
31
+ args : ['/bin/bash', '-c', 'cft test run TestBootstrap --stage apply --verbose']
32
+ - id : bootstrap -verify
31
33
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
32
- args : ['/bin/bash', '-c', 'cft test run TestSimpleExample --stage verify --verbose']
33
- - id : simple-example -teardown
34
+ args : ['/bin/bash', '-c', 'cft test run TestBootstrap --stage verify --verbose']
35
+ - id : bootstrap -teardown
34
36
name : ' gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS'
35
- args : ['/bin/bash', '-c', 'cft test run TestSimpleExample --stage teardown --verbose']
37
+ args : ['/bin/bash', '-c', 'cft test run TestBootstrap --stage teardown --verbose']
36
38
tags :
37
39
- ' ci'
38
40
- ' integration'
0 commit comments