Skip to content

Commit 9b1a1eb

Browse files
committed
Maybe HOME instead
1 parent 645de6f commit 9b1a1eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ set -euo pipefail
55
export BAZEL_CACHE_MODE=populate-local-gcs
66
export DISABLE_BOOTSTRAP_VALIDATION=true
77

8-
retry 5 5 vault read -field=service_account_json secret/kibana-issues/dev/kibana-ci-bazel-remote-cache-local-dev > target/kibana-ci-bazel-remote-cache-local-dev.json
9-
GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/target/kibana-ci-bazel-remote-cache-local-dev.json
8+
GOOGLE_APPLICATION_CREDENTIALS="$HOME/.kibana-ci-bazel-remote-cache-local-dev.json"
109
export GOOGLE_APPLICATION_CREDENTIALS
10+
retry 5 5 vault read -field=service_account_json secret/kibana-issues/dev/kibana-ci-bazel-remote-cache-local-dev > "$GOOGLE_APPLICATION_CREDENTIALS"
1111

1212
# Clear out bazel cache between runs to make sure that any artifacts that don't exist in the cache are uploaded
1313
rm -rf ~/.bazel-cache

0 commit comments

Comments
 (0)