From 2724e04c4fc70696fb0b0bef7ae726f890728f96 Mon Sep 17 00:00:00 2001 From: Joey Perrott Date: Wed, 9 Oct 2019 07:15:42 -0700 Subject: [PATCH] build: set up remote-http-caching --- .bazelrc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.bazelrc b/.bazelrc index ba7234262e4d..c5f13f75da26 100644 --- a/.bazelrc +++ b/.bazelrc @@ -44,6 +44,20 @@ build:release --workspace_status_command="node ./tools/bazel-stamp-vars.js" # does not generate factory files which are needed for AOT. build --define=compile=legacy +####################### +# Remote HTTP Caching # +####################### +build --remote_http_cache=https://storage.googleapis.com/angular-team-cache +build --remote_accept_cached=true +build --remote_upload_local_results=false + +###################################### +# Remote HTTP Caching writes support # +# Turn on these settings with # +# --config=-http-caching # +###################################### +build:remote-http-caching --remote_upload_local_results=true + ################################ # Remote Execution Setup # ################################