summaryrefslogtreecommitdiffhomepage
path: root/scripts/benchmark.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/benchmark.sh')
-rw-r--r--scripts/benchmark.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/benchmark.sh b/scripts/benchmark.sh
index a0317db02..79ff198d5 100644
--- a/scripts/benchmark.sh
+++ b/scripts/benchmark.sh
@@ -17,9 +17,10 @@
# Run in the root of the repo.
cd "$(dirname "$0")"
-KEY_PATH=${KEY_PATH:-"${KOKORO_KEYSTORE_DIR}/${KOKORO_SERVICE_ACCOUNT}"}
+export GOOGLE_APPLICATION_CREDENTIALS="${KOKORO_KEYSTORE_DIR}/${GCLOUD_CREDENTIALS}"
-gcloud auth activate-service-account --key-file "${KEY_PATH}"
+gcloud auth activate-service-account --key-file "${GOOGLE_APPLICATION_CREDENTIALS}"
gcloud compute instances list
+bq show gvisor-benchmarks:test.test