build: set up remote http caching flag (#32983)

PR Close #32983
This commit is contained in:
Joey Perrott 2019-10-02 10:36:25 -07:00 committed by Miško Hevery
parent b2decf0266
commit af1f27e756
1 changed files with 19 additions and 5 deletions

View File

@ -71,11 +71,25 @@ test --test_output=errors
# any bazel target. This is a temporary flag until codebase is permanently switched to Ivy.
build --define=compile=legacy
###############################
# Remote Build Execution support
# Turn on these settings with
# --config=remote
###############################
#######################
# 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 Build Execution support #
# Turn on these settings with #
# --config=remote #
##################################
# Load default settings for Remote Build Execution.
import %workspace%/third_party/github.com/bazelbuild/bazel-toolchains/bazelrc/.bazelrc.notoolchain