Skip to content

Commit 8fc2819

Browse files
devversionzarend
authored andcommitted
build: switch bazelrc away from deprecated options (#24555)
Switches the bazelrc away from deprecated options. See: https://docs.bazel.build/versions/main/command-line-reference.html (cherry picked from commit c9b2231)
1 parent d5673bb commit 8fc2819

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.bazelrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ build --define=angular_ivy_enabled=True
6767

6868
# Use the Angular team internal GCP instance for remote execution.
6969
build:remote --remote_instance_name=projects/internal-200822/instances/primary_instance
70-
build:remote --project_id=internal-200822
7170

7271
# Needed due to: https://github.com/bazelbuild/bazel/issues/7254
7372
build:remote --define=EXECUTOR=remote
@@ -80,7 +79,7 @@ build:remote --host_cpu=k8
8079
# Setup the remote build execution servers.
8180
build:remote --remote_cache=remotebuildexecution.googleapis.com
8281
build:remote --remote_executor=remotebuildexecution.googleapis.com
83-
build:remote --auth_enabled=true
82+
build:remote --google_default_credentials=true
8483

8584
# Setup the toolchain and platform for the remote build execution. The platform
8685
# is provided by the shared dev-infra package and targets k8 remote containers.
@@ -108,6 +107,7 @@ test --sandbox_default_allow_network=false
108107
# that could cause builds to fail unnecessarily. If desired, build result uploading
109108
# can be manually uploaded, but given that the build event service server has been
110109
# less stable than the remote executors, we do not want to degrade CI stability.
110+
build:build-results --bes_instance_name=internal-200822
111111
build:build-results --bes_backend=buildeventservice.googleapis.com
112112
build:build-results --bes_timeout=60s
113113
build:build-results --bes_results_url="https://source.cloud.google.com/results/invocations/"

0 commit comments

Comments
 (0)