build: address review comments in .bazelrc (#33367)

PR Close #33367
This commit is contained in:
Greg Magolan 2019-10-24 21:51:17 -07:00 committed by Andrew Kushnir
parent 348615be62
commit aa36b55bd9
1 changed files with 4 additions and 14 deletions

View File

@ -92,23 +92,12 @@ build:remote-http-caching --google_default_credentials
# --config=remote #
##################################
# Starting with Bazel 0.27.0 strategies do not need to be explicitly
# defined. See https://github.com/bazelbuild/bazel/issues/7480
# The following --define=EXECUTOR=remote will be able to be removed
# once https://github.com/bazelbuild/bazel/issues/7254 is fixed
build:remote --define=EXECUTOR=remote
# Enable remote execution so actions are performed on the remote systems.
build:remote --remote_executor=remotebuildexecution.googleapis.com
# Enable encryption.
build:remote --tls_enabled=true
# Set a higher timeout value, just in case.
build:remote --remote_timeout=3600
# Enable authentication. This will pick up application default credentials by
# default. You can use --auth_credentials=some_file.json to use a service
# account credential instead.
build:remote --auth_enabled=true
build:remote --remote_timeout=600
# Increase the default number of jobs by 50% because our build has lots of
# parallelism
@ -131,6 +120,7 @@ build:remote --platforms=//tools:rbe_ubuntu1604-angular
build:remote --remote_instance_name=projects/internal-200822/instances/default_instance
build:remote --project_id=internal-200822
build:remote --remote_cache=remotebuildexecution.googleapis.com
build:remote --remote_executor=remotebuildexecution.googleapis.com
###############################
# NodeJS rules settings