From f085fd56662f3acb737dd828dd19d2d07b185544 Mon Sep 17 00:00:00 2001 From: Greg Magolan Date: Fri, 25 Oct 2019 09:59:26 -0700 Subject: [PATCH] revert: build: address review comments in .bazelrc (#33367) (#33407) This reverts commit aa36b55bd98ab0f8331fba8c34714059efa435d5. PR Close #33407 --- .bazelrc | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/.bazelrc b/.bazelrc index 401ec1a1e5..089d9809e1 100644 --- a/.bazelrc +++ b/.bazelrc @@ -92,12 +92,23 @@ build:remote-http-caching --google_default_credentials # --config=remote # ################################## -# The following --define=EXECUTOR=remote will be able to be removed -# once https://github.com/bazelbuild/bazel/issues/7254 is fixed +# Starting with Bazel 0.27.0 strategies do not need to be explicitly +# defined. See https://github.com/bazelbuild/bazel/issues/7480 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=600 +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 # Increase the default number of jobs by 50% because our build has lots of # parallelism @@ -120,7 +131,6 @@ 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