From aa36b55bd98ab0f8331fba8c34714059efa435d5 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Thu, 24 Oct 2019 21:51:17 -0700 Subject: [PATCH] build: address review comments in .bazelrc (#33367) PR Close #33367 --- .bazelrc | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/.bazelrc b/.bazelrc index 089d9809e1..401ec1a1e5 100644 --- a/.bazelrc +++ b/.bazelrc @@ -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