Skip to content

Commit d3fe811

Browse files
josephperrottjelbourn
authored andcommitted
build: set up remote-http-caching (#17342)
1 parent 664a606 commit d3fe811

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.bazelrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ build:release --workspace_status_command="node ./tools/bazel-stamp-vars.js"
4444
# does not generate factory files which are needed for AOT.
4545
build --define=compile=legacy
4646

47+
#######################
48+
# Remote HTTP Caching #
49+
#######################
50+
build --remote_http_cache=https://storage.googleapis.com/angular-team-cache
51+
build --remote_accept_cached=true
52+
build --remote_upload_local_results=false
53+
54+
######################################
55+
# Remote HTTP Caching writes support #
56+
# Turn on these settings with #
57+
# --config=-http-caching #
58+
######################################
59+
build:remote-http-caching --remote_upload_local_results=true
60+
4761
################################
4862
# Remote Execution Setup #
4963
################################

0 commit comments

Comments
 (0)