Skip to content

Commit

Permalink
Bump cache suffix (digital-asset#6265)
Browse files Browse the repository at this point in the history
* Bump cache suffix

As discussed, we are going to bump this every time we feel like
resetting the cache might help. This is a temporary measure to get
some metrics on how often things break and if resetting the cache
helps.

changelog_begin
changelog_end

* Update configure-bazel as well

changelog_begin
changelog_end
  • Loading branch information
cocreature authored Jun 8, 2020
1 parent 7735acb commit 1d3c8f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# flag: --noremote_accept_cached
build:darwin --remote_http_cache=https://bazel-cache.da-ext.net
build:linux --remote_http_cache=https://bazel-cache.da-ext.net
build:windows-ci --remote_http_cache=https://bazel-cache.da-ext.net
build:windows-ci --remote_http_cache=https://bazel-cache.da-ext.net/v1
build --remote_upload_local_results=false
# Enable the disk cache in addition to the http cache.
build:linux --disk_cache=.bazel-cache/disk
Expand Down
2 changes: 1 addition & 1 deletion ci/configure-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ if [[ "${IS_FORK}" = False ]]; then
echo "$GOOGLE_APPLICATION_CREDENTIALS_CONTENT" > "$GOOGLE_APPLICATION_CREDENTIALS"
unset GOOGLE_APPLICATION_CREDENTIALS_CONTENT
export GOOGLE_APPLICATION_CREDENTIALS
echo "build --remote_http_cache=https://storage.googleapis.com/daml-bazel-cache --remote_upload_local_results=true --google_credentials=${GOOGLE_APPLICATION_CREDENTIALS}" >> .bazelrc.local
echo "build --remote_http_cache=https://storage.googleapis.com/daml-bazel-cache/v1 --remote_upload_local_results=true --google_credentials=${GOOGLE_APPLICATION_CREDENTIALS}" >> .bazelrc.local
fi

0 comments on commit 1d3c8f3

Please sign in to comment.