|
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | 14 |
|
15 | | -timeout: 3600s |
| 15 | +timeout: 4200s |
16 | 16 | steps: |
17 | 17 | - id: swap-module-refs |
18 | 18 | name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
@@ -249,6 +249,44 @@ steps: |
249 | 249 | args: ['/bin/bash', '-c', 'cft test run TestCloudBuildWorkspaceSimpleGitLab --stage teardown --verbose'] |
250 | 250 | secretEnv: ['IM_GITLAB_PAT'] |
251 | 251 |
|
| 252 | +- id: apply-cloudbuild-connection-github |
| 253 | + waitFor: |
| 254 | + - create-all |
| 255 | + name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
| 256 | + args: ['/bin/bash', '-c', 'cft test run TestCloudBuildRepoConnectionGithub --stage apply --verbose'] |
| 257 | + secretEnv: ['IM_GITHUB_PAT'] |
| 258 | +- id: verify-cloudbuild-connection-github |
| 259 | + waitFor: |
| 260 | + - apply-cloudbuild-connection-github |
| 261 | + name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
| 262 | + args: ['/bin/bash', '-c', 'cft test run TestCloudBuildRepoConnectionGithub --stage verify --verbose'] |
| 263 | + secretEnv: ['IM_GITHUB_PAT'] |
| 264 | +- id: teardown-cloudbuild-connection-github |
| 265 | + waitFor: |
| 266 | + - verify-cloudbuild-connection-github |
| 267 | + name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
| 268 | + args: ['/bin/bash', '-c', 'cft test run TestCloudBuildRepoConnectionGithub --stage teardown --verbose'] |
| 269 | + secretEnv: ['IM_GITHUB_PAT'] |
| 270 | + |
| 271 | +- id: apply-cloudbuild-connection-gitlab |
| 272 | + waitFor: |
| 273 | + - create-all |
| 274 | + name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
| 275 | + args: ['/bin/bash', '-c', 'cft test run TestCloudBuildRepoConnectionGitLab --stage apply --verbose'] |
| 276 | + secretEnv: ['IM_GITLAB_PAT'] |
| 277 | +- id: verify-cloudbuild-connection-gitlab |
| 278 | + waitFor: |
| 279 | + - apply-cloudbuild-connection-gitlab |
| 280 | + name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
| 281 | + args: ['/bin/bash', '-c', 'cft test run TestCloudBuildRepoConnectionGitLab --stage verify --verbose'] |
| 282 | + secretEnv: ['IM_GITLAB_PAT'] |
| 283 | +- id: teardown-cloudbuild-connection-gitlab |
| 284 | + waitFor: |
| 285 | + - verify-cloudbuild-connection-gitlab |
| 286 | + name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' |
| 287 | + args: ['/bin/bash', '-c', 'cft test run TestCloudBuildRepoConnectionGitLab --stage teardown --verbose'] |
| 288 | + secretEnv: ['IM_GITLAB_PAT'] |
| 289 | + |
252 | 290 | availableSecrets: |
253 | 291 | secretManager: |
254 | 292 | - versionName: $_IM_GITHUB_PAT_SECRET_ID/versions/latest |
|
0 commit comments