refactor: enable remote execution on Aspect workflows

This commit is contained in:
Alex Eagle 2024-04-01 18:04:14 -07:00
parent 82442c53d1
commit f35ff29104
No known key found for this signature in database
1 changed files with 12 additions and 0 deletions

View File

@ -1,3 +1,15 @@
# build without the bytes
common --remote_download_outputs=minimal
common --nobuild_runfile_links
##################################
# RBE
#
# Always enable remote execution.
# We test the local execution case in the "vanilla GitHub Actions" setup in /.github/workflows/ci.yaml
common --host_platform=@aspect_bazel_lib//platforms:x86_64_linux_remote
common --extra_execution_platforms=@aspect_bazel_lib//platforms:x86_64_linux_remote
common --remote_executor=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
# 8 is the max scaling for the "staging" RBE cluster
common --jobs=8
common --remote_timeout=3600