From b1e42c1427a1b971d7ca83251c8f13800322eba0 Mon Sep 17 00:00:00 2001 From: Andrew Peabody Date: Tue, 5 Nov 2024 16:43:17 -0800 Subject: [PATCH] chore(CI): remove duplicate inits and old kitchen (#2169) --- .kitchen.yml | 135 ------------------------------------ build/int.cloudbuild.yaml | 140 ++++++-------------------------------- 2 files changed, 20 insertions(+), 255 deletions(-) diff --git a/.kitchen.yml b/.kitchen.yml index d8f851b8c1..c8a72788f3 100644 --- a/.kitchen.yml +++ b/.kitchen.yml @@ -32,57 +32,6 @@ platforms: - name: local suites: - - name: "shared_vpc" - transport: - root_module_directory: test/fixtures/shared_vpc - verifier: - systems: - - name: shared_vpc - backend: local - - name: "safer_cluster" - transport: - root_module_directory: test/fixtures/safer_cluster - verifier: - systems: - - name: safer_cluster - backend: local - controls: - - gcloud - - name: inspec-gcp - backend: gcp - controls: - - network - - name: "simple_regional" - transport: - root_module_directory: test/fixtures/simple_regional - verifier: - systems: - - name: simple_regional - backend: local - - name: "simple_regional_with_networking" - transport: - root_module_directory: test/fixtures/simple_regional_with_networking - verifier: - systems: - - name: simple_regional_with_networking - backend: local - controls: - - gcloud - - name: subnet - backend: local - controls: - - subnet - - name: network - backend: gcp - controls: - - network - - name: "simple_regional_private" - transport: - root_module_directory: test/fixtures/simple_regional_private - verifier: - systems: - - name: simple_regional_private - backend: local - name: "simple_regional_with_gateway_api" transport: root_module_directory: test/fixtures/simple_regional_with_gateway_api @@ -97,36 +46,6 @@ suites: systems: - name: simple_regional_with_ipv6 backend: local - - name: "simple_regional_with_kubeconfig" - transport: - root_module_directory: test/fixtures/simple_regional_with_kubeconfig - verifier: - systems: - - name: simple_regional_with_kubeconfig - backend: local - - name: "simple_zonal" - transport: - root_module_directory: test/fixtures/simple_zonal - verifier: - systems: - - name: gcloud - backend: local - controls: - - gcloud - - acm - - name: gcp - backend: gcp - controls: - - gcp - - name: "simple_zonal_private" - transport: - root_module_directory: test/fixtures/simple_zonal_private - verifier: - systems: - - name: simple_zonal_private - backend: local - controls: - - gcloud - name: "stub_domains" transport: root_module_directory: test/fixtures/stub_domains @@ -179,29 +98,6 @@ suites: systems: - name: workload_metadata_config backend: local - - name: "simple_windows_node_pool" - transport: - root_module_directory: test/fixtures/simple_windows_node_pool - verifier: - systems: - - name: gcloud - backend: local - controls: - - gcloud - - name: gcp - backend: gcp - controls: - - gcp - - name: "deploy_service" - transport: - root_module_directory: test/fixtures/deploy_service - verifier: - systems: - - name: deploy_service - backend: local - controls: - - gcloud - - kubectl - name: "node_pool" transport: root_module_directory: test/fixtures/node_pool @@ -212,13 +108,6 @@ suites: controls: - gcloud - kubectl - - name: "sandbox_enabled" - transport: - root_module_directory: test/fixtures/sandbox_enabled - verifier: - systems: - - name: sandbox_enabled - backend: local - name: "safer_cluster_iap_bastion" transport: root_module_directory: test/fixtures/safer_cluster_iap_bastion @@ -226,27 +115,3 @@ suites: systems: - name: safer_cluster_iap_bastion backend: local - - name: "simple_zonal_with_asm" - transport: - root_module_directory: test/fixtures/simple_zonal_with_asm - verifier: - systems: - - name: simple_zonal_with_asm - backend: local - controls: - - gcloud - - kubectl - - name: "simple_autopilot_private" - transport: - root_module_directory: test/fixtures/simple_autopilot_private - verifier: - systems: - - name: simple_autopilot_private - backend: local - - name: "simple_autopilot_public" - transport: - root_module_directory: test/fixtures/simple_autopilot_public - verifier: - systems: - - name: simple_autopilot_public - backend: local diff --git a/build/int.cloudbuild.yaml b/build/int.cloudbuild.yaml index d8a56f4802..8a22a3dbeb 100644 --- a/build/int.cloudbuild.yaml +++ b/build/int.cloudbuild.yaml @@ -34,14 +34,9 @@ steps: - init-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do create'] -- id: init disable-client-cert - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage init --verbose --test-dir test/integration'] - id: apply disable-client-cert waitFor: - - init disable-client-cert + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage apply --verbose --test-dir test/integration'] - id: verify disable-client-cert @@ -54,14 +49,9 @@ steps: - verify disable-client-cert name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestDisableClientCert --stage teardown --verbose --test-dir test/integration'] -- id: init shared-vpc-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSharedVPC --stage init --verbose --test-dir test/integration'] - id: apply shared-vpc-local waitFor: - - init shared-vpc-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSharedVPC --stage apply --verbose --test-dir test/integration'] - id: verify shared-vpc-local @@ -74,14 +64,9 @@ steps: - verify shared-vpc-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSharedVPC --stage teardown --verbose --test-dir test/integration'] -- id: init safer-cluster-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage init --verbose'] - id: apply safer-cluster-local waitFor: - - init safer-cluster-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage apply --verbose'] - id: verify safer-cluster-local @@ -94,14 +79,9 @@ steps: - verify safer-cluster-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSaferCluster --stage destroy --verbose'] -- id: init simple-regional-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleRegional --stage init --verbose'] - id: apply simple-regional-local waitFor: - - init simple-regional-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegional --stage apply --verbose'] - id: verify simple-regional-local @@ -114,14 +94,9 @@ steps: - verify simple-regional-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegional --stage teardown --verbose'] -- id: init simple-regional-private-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalPrivate --stage init --verbose'] - id: apply simple-regional-private-local waitFor: - - init simple-regional-private-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalPrivate --stage apply --verbose'] - id: verify simple-regional-private-local @@ -150,14 +125,9 @@ steps: - verify simple-regional-cluster-autoscaling name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalClusterAutoscaling --stage teardown --verbose'] -- id: init simple-regional-with-kubeconfig-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalWithKubeConfig --stage init --verbose'] - id: apply simple-regional-with-kubeconfig-local waitFor: - - init simple-regional-with-kubeconfig-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalWithKubeConfig --stage apply --verbose'] - id: verify simple-regional-with-kubeconfig-local @@ -185,14 +155,9 @@ steps: - verify simple-regional-with-gateway-api-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy simple-regional-with-gateway-api-local'] -- id: init simple-regional-with-networking-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalWithNetworking --stage init --verbose'] - id: apply simple-regional-with-networking-local waitFor: - - init simple-regional-with-networking-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalWithNetworking --stage apply --verbose'] - id: verify simple-regional-with-networking-local @@ -205,14 +170,9 @@ steps: - verify simple-regional-with-networking-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleRegionalWithNetworking --stage teardown --verbose'] -- id: init simple-zonal-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleZonal --stage init --verbose'] - id: apply simple-zonal-local waitFor: - - init simple-zonal-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleZonal --stage apply --verbose'] - id: verify simple-zonal-local @@ -225,14 +185,9 @@ steps: - verify simple-zonal-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleZonal --stage teardown --verbose'] -- id: init simple-zonal-private-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleZonalPrivate --stage init --verbose'] - id: apply simple-zonal-private-local waitFor: - - init simple-zonal-private-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleZonalPrivate --stage apply --verbose'] - id: verify simple-zonal-private-local @@ -305,14 +260,9 @@ steps: - verify workload-metadata-config-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy workload-metadata-config-local'] -- id: init beta-cluster - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage init --verbose --test-dir test/integration'] - id: apply beta-cluster waitFor: - - init beta-cluster + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage apply --verbose --test-dir test/integration'] - id: verify beta-cluster @@ -325,14 +275,9 @@ steps: - verify beta-cluster name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestBetaCluster --stage teardown --verbose --test-dir test/integration'] -- id: init simple-windows-node-pool-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleWindowsNodePool --stage init --verbose --test-dir test/integration'] - id: apply simple-windows-node-pool-local waitFor: - - init simple-windows-node-pool-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleWindowsNodePool --stage apply --verbose --test-dir test/integration'] - id: verify simple-windows-node-pool-local @@ -345,14 +290,9 @@ steps: - verify simple-windows-node-pool-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleWindowsNodePool --stage teardown --verbose --test-dir test/integration'] -- id: init deploy-service-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestDeployService --stage init --verbose'] - id: apply deploy-service-local waitFor: - - init deploy-service-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestDeployService --stage apply --verbose'] - id: verify deploy-service-local @@ -380,14 +320,9 @@ steps: - verify node-pool-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy node-pool-local'] -- id: init sandbox-enabled-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSandboxEnabled --stage init --verbose'] - id: apply sandbox-enabled-local waitFor: - - init sandbox-enabled-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSandboxEnabled --stage apply --verbose'] - id: verify sandbox-enabled-local @@ -430,14 +365,9 @@ steps: - verify safer-cluster-iap-bastion-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'source /usr/local/bin/task_helper_functions.sh && kitchen_do destroy safer-cluster-iap-bastion-local'] -- id: init simple-zonal-with-asm-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleZonalWithASM --stage init --verbose'] - id: apply simple-zonal-with-asm-local waitFor: - - init simple-zonal-with-asm-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleZonalWithASM --stage apply --verbose'] - id: verify simple-zonal-with-asm-local @@ -450,14 +380,9 @@ steps: - verify simple-zonal-with-asm-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleZonalWithASM --stage teardown --verbose'] -- id: init simple-autopilot-private-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivate --stage init --verbose'] - id: apply simple-autopilot-private-local waitFor: - - init simple-autopilot-private-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivate --stage apply --verbose'] - id: verify simple-autopilot-private-local @@ -470,16 +395,11 @@ steps: - verify simple-autopilot-private-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivate --stage teardown --verbose'] -- id: init autopilot-private-firewalls +- id: apply autopilot-private-firewalls waitFor: - create-all - destroy simple-autopilot-private-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestAutopilotPrivateFirewalls --stage init --verbose'] -- id: apply autopilot-private-firewalls - waitFor: - - init autopilot-private-firewalls - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestAutopilotPrivateFirewalls --stage apply --verbose'] - id: verify autopilot-private-firewalls waitFor: @@ -491,14 +411,9 @@ steps: - verify autopilot-private-firewalls name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestAutopilotPrivateFirewalls --stage destroy --verbose'] -- id: init simple-autopilot-public-local - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPublic --stage init --verbose'] - id: apply simple-autopilot-public-local waitFor: - - init simple-autopilot-public-local + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPublic --stage apply --verbose'] - id: verify simple-autopilot-public-local @@ -511,14 +426,9 @@ steps: - verify simple-autopilot-public-local name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPublic --stage teardown --verbose'] -- id: init private-zonal-with-networking - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage init --verbose --test-dir test/integration'] - id: apply private-zonal-with-networking waitFor: - - init private-zonal-with-networking + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage apply --verbose --test-dir test/integration'] - id: verify private-zonal-with-networking @@ -531,14 +441,9 @@ steps: - verify private-zonal-with-networking name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestPrivateZonalWithNetworking --stage teardown --verbose --test-dir test/integration'] -- id: init simple-autopilot-private-non-default-sa - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivateNonDefaultSA --stage init --verbose'] - id: apply simple-autopilot-private-non-default-sa waitFor: - - init simple-autopilot-private-non-default-sa + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivateNonDefaultSA --stage apply --verbose'] - id: verify simple-autopilot-private-non-default-sa @@ -551,14 +456,9 @@ steps: - verify simple-autopilot-private-non-default-sa name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleAutopilotPrivateNonDefaultSA --stage teardown --verbose'] -- id: init simple-fleet-app-operator-permissions - waitFor: - - create-all - name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' - args: ['/bin/bash', '-c', 'cft test run TestSimpleFleetAppOperatorPermissions --stage init --verbose'] - id: apply simple-fleet-app-operator-permissions waitFor: - - init simple-fleet-app-operator-permissions + - create-all name: 'gcr.io/cloud-foundation-cicd/$_DOCKER_IMAGE_DEVELOPER_TOOLS:$_DOCKER_TAG_VERSION_DEVELOPER_TOOLS' args: ['/bin/bash', '-c', 'cft test run TestSimpleFleetAppOperatorPermissions --stage apply --verbose'] - id: verify simple-fleet-app-operator-permissions