Skip to content

Commit 6fb1204

Browse files
authored
chore(proc): Update TPC test config (#9359)
Change the secret names to avoid names with dot character. Set up PRPTST zone names for testing. Set up project id for compute image tests. Bypassing additional reviews.
1 parent a52a4ea commit 6fb1204

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.kokoro/prptst/run_tests.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ gradle -v
4545
# Setup required env variables
4646
export GOOGLE_CLOUD_PROJECT="tpczero-system:java-docs-samples-testing"
4747
export GOOGLE_APPLICATION_CREDENTIALS=${KOKORO_GFILE_DIR}/secrets/prptst-java-docs-samples-service-account.json
48+
export JAVA_DOCS_COMPUTE_TEST_ZONES="u-us-prp1-a,u-us-prp1-b,u-us-prp1-c"
49+
export JAVA_DOCS_COMPUTE_TEST_IMAGE_PROJECT="tpczero-system:java-docs-samples-testing" # test will fail anyway because images are not there
4850

4951
mkdir -p "${KOKORO_GFILE_DIR}/secrets"
50-
gcloud secrets versions access latest --project="java-docs-samples-testing" --secret="prptst-java-docs-samples-service-account.json" > "${KOKORO_GFILE_DIR}/secrets/prptst-java-docs-samples-service-account.json"
52+
# read secrets from GDU project 'java-docs-samples-testing'
53+
gcloud secrets versions access latest --project="java-docs-samples-testing" --secret="prptst-java-docs-samples-service-account" > "${KOKORO_GFILE_DIR}/secrets/prptst-java-docs-samples-service-account.json"
5154

5255
# Add PRPTST configuration to gcloud CLI (becomes active)
5356
gcloud config configurations create prptst

0 commit comments

Comments
 (0)