Skip to content

Commit

Permalink
chore: use aspect workflows RBE
Browse files Browse the repository at this point in the history
  • Loading branch information
kormide committed Aug 26, 2024
1 parent c88b0af commit afbeb05
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .aspect/workflows/bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,10 @@ common --nobuild_runfile_links
common --build_event_binary_file=build_event_log.bin
common --build_event_binary_file_path_conversion=false
common --build_event_publish_all_actions=true

common:aspect_rbe --extra_execution_platforms=@aspect_bazel_lib//platforms:x86_64_linux_remote
common:aspect_rbe --host_platform=@aspect_bazel_lib//platforms:x86_64_linux_remote
common:aspect_rbe --remote_executor=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
common:aspect_rbe --genrule_strategy=remote,local
common:aspect_rbe --jobs=32
common:aspect_rbe --remote_timeout=3600
39 changes: 39 additions & 0 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,20 @@ workspaces:
label: rules_js
tasks:
- test:
bazel:
flags:
- --config=aspect_rbe
- configure:
bazel:
flags: [] # TODO: Aspect CLI does not support --config for configure cmd
e2e/bzlmod:
icon: bazel
tasks:
- test:
queue: aspect-default
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -23,6 +32,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -39,6 +51,9 @@ workspaces:
tasks:
- test:
queue: aspect-default
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand Down Expand Up @@ -80,6 +95,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -93,6 +111,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -106,6 +127,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand Down Expand Up @@ -201,6 +225,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -214,6 +241,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -227,6 +257,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -240,6 +273,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand All @@ -253,6 +289,9 @@ workspaces:
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=aspect_rbe
- format:
without: true
- buildifier:
Expand Down

0 comments on commit afbeb05

Please sign in to comment.