We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3b8a4f commit b1bee1aCopy full SHA for b1bee1a
.kokoro/tests/run_tests.sh
@@ -98,6 +98,13 @@ fi
98
# install nox for testing
99
pip install --user -q nox
100
101
+# Use secrets acessor service account to get secrets
102
+if [[ -f "${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" ]]; then
103
+ gcloud auth activate-service-account \
104
+ --key-file="${KOKORO_GFILE_DIR}/secrets_viewer_service_account.json" \
105
+ --project="cloud-devrel-kokoro-resources"
106
+fi
107
+
108
# On kokoro, we should be able to use the default service account. We
109
# need to somehow bootstrap the secrets on other CI systems.
110
if [[ "${TRAMPOLINE_CI}" == "kokoro" ]]; then
0 commit comments