Skip to content

Commit

Permalink
Fixed multi-cluster shared vpc test yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
knee-berts committed Feb 24, 2022
1 parent 5a76315 commit b3a5732
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions test/e2e/cloudbuild-multi-clusters-shared-vpc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,12 +106,12 @@ steps:
TEST_PROJECT_ID=$(cat "/workspace/test-project-id.txt")
VPC_TEST_PROJECT_ID=$(cat "/workspace/vpc_test-project-id.txt")
sed -i 's|.*tfModuleRepo.*|tfModuleRepo: '"$$CLEAN_REPO_NAME"'|' samples/multi-clusters-shared-vpc.yaml
sed -i 's|.*tfModuleBranch.*|tfModuleBranch: '"$$CLEAN_BRANCH_NAME"'|' samples/multi-clusters-shared-vpc.yaml.yaml
sed -i 's|.*clustersProjectId.*|clustersProjectId: '"$$TEST_PROJECT_ID"'|' samples/multi-clusters-shared-vpc.yaml.yaml
sed -i 's|.*governanceProjectId.*|governanceProjectId: '"$$TEST_PROJECT_ID"'|' samples/multi-clusters-shared-vpc.yaml.yaml
sed -i 's|.*vpcProjectId.*| vpcProjectId: '"$$VPC_TEST_PROJECT_ID"'|' samples/multi-clusters-shared-vpc.yaml.yaml
sed -i 's|.*tfModuleBranch.*|tfModuleBranch: '"$$CLEAN_BRANCH_NAME"'|' samples/multi-clusters-shared-vpc.yaml
sed -i 's|.*clustersProjectId.*|clustersProjectId: '"$$TEST_PROJECT_ID"'|' samples/multi-clusters-shared-vpc.yaml
sed -i 's|.*governanceProjectId.*|governanceProjectId: '"$$TEST_PROJECT_ID"'|' samples/multi-clusters-shared-vpc.yaml
sed -i 's|.*vpcProjectId.*| vpcProjectId: '"$$VPC_TEST_PROJECT_ID"'|' samples/multi-clusters-shared-vpc.yaml
echo "Final config for testing..."
cat samples/multi-clusters-shared-vpc.yaml.yaml
cat samples/multi-clusters-shared-vpc.yaml
- name: 'gcr.io/gkepoctoolkit/e2etest:latest'
id: test-gkekitctl-create
entrypoint: 'bash'
Expand All @@ -129,7 +129,7 @@ steps:
gcloud auth application-default print-access-token
gcloud config set project $$TEST_PROJECT_ID
gcloud auth list
./gkekitctl create --config samples/multi-clusters-shared-vpc.yaml.yaml
./gkekitctl create --config samples/multi-clusters-shared-vpc.yaml
timeout: "60m"
availableSecrets:
secretManager:
Expand Down

0 comments on commit b3a5732

Please sign in to comment.