Skip to content

Commit

Permalink
Maybe HOME instead
Browse files Browse the repository at this point in the history
  • Loading branch information
brianseeders committed May 9, 2022
1 parent 645de6f commit 9b1a1eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .buildkite/scripts/steps/bazel_cache/bootstrap_mac.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ set -euo pipefail
export BAZEL_CACHE_MODE=populate-local-gcs
export DISABLE_BOOTSTRAP_VALIDATION=true

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
GOOGLE_APPLICATION_CREDENTIALS=$(pwd)/target/kibana-ci-bazel-remote-cache-local-dev.json
GOOGLE_APPLICATION_CREDENTIALS="$HOME/.kibana-ci-bazel-remote-cache-local-dev.json"
export GOOGLE_APPLICATION_CREDENTIALS
retry 5 5 vault read -field=service_account_json secret/kibana-issues/dev/kibana-ci-bazel-remote-cache-local-dev > "$GOOGLE_APPLICATION_CREDENTIALS"

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

0 comments on commit 9b1a1eb

Please sign in to comment.