Skip to content

Commit 2949d32

Browse files
committed
WIP
1 parent 63dad12 commit 2949d32

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.bazelrc

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,6 @@ common:remote --jobs=100
7070
# Setup the remote build execution servers.
7171
build:remote --remote_cache=remotebuildexecution.googleapis.com
7272
build:remote --remote_executor=remotebuildexecution.googleapis.com
73-
build:remote --google_default_credentials
7473

7574
# Setup the toolchain and platform for the remote build execution. The platform
7675
# is provided by the shared dev-infra package and targets k8 remote containers.
@@ -84,11 +83,19 @@ build:remote --platforms=//bazel/remote-execution:platform_with_network
8483
build:remote --remote_accept_cached=true
8584

8685
# Enable Build Event Service
87-
build:remote --bes_backend=buildeventservice.googleapis.com
88-
build:remote --project_id=internal-200822
86+
build:remote --bes_backend=buildeventservice-pa.googleapis.com
87+
build:remote --google_auth_scopes=https://www.googleapis.com/auth/cloud-platform
88+
build:remote --google_default_credentials
89+
build:remote --bes_instance_name=internal-200822
8990
build:remote --bes_header=X-Goog-User-Project=internal-200822
90-
build:remote --bes_results_url=https://source.cloud.google.com/results/invocations
91-
build:remote --bes_upload_mode=fully_async
91+
build:remote --bes_results_url=http://sponge2/
92+
93+
build:remote-cache --bes_backend=buildeventservice-pa.googleapis.com
94+
build:remote-cache --google_auth_scopes=https://www.googleapis.com/auth/cloud-platform
95+
build:remote-cache --google_default_credentials
96+
build:remote-cache --bes_instance_name=internal-200822
97+
build:remote-cache --bes_header=X-Goog-User-Project=internal-200822
98+
build:remote-cache --bes_results_url=http://sponge2/
9299

93100
# Use HTTP remote cache
94101
build:remote-cache --remote_cache=https://storage.googleapis.com/angular-team-cache

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,4 @@ jobs:
8181
- uses: ./github-actions/npm/checkout-and-setup-node
8282
- uses: ./github-actions/bazel/setup
8383
- run: yarn install --immutable
84-
- run: yarn bazel test --sandbox_writable_path="$HOME/Library/Application Support" --test_tag_filters=macos --build_tests_only -- //...
84+
- run: yarn bazel test --config=remote-cache --sandbox_writable_path="$HOME/Library/Application Support" --test_tag_filters=macos --build_tests_only -- //...

0 commit comments

Comments
 (0)