summaryrefslogtreecommitdiffhomepage
path: root/scripts/benchmark.sh
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-03-11 14:44:57 -0700
committergVisor bot <gvisor-bot@google.com>2020-03-11 14:46:17 -0700
commitfd84cddab0dc175d5050e2ac46f8520f632d1550 (patch)
tree8efa031b1e4024eeb210a4d31d54efbe3a4f6417 /scripts/benchmark.sh
parent5ee9bbb15d90b5f116d9482e932e0823cffd9f6e (diff)
Internal change
PiperOrigin-RevId: 300410856
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