diff --git a/.aspect/workflows/bazelrc b/.aspect/workflows/bazelrc index 04f3f6d..86088e5 100644 --- a/.aspect/workflows/bazelrc +++ b/.aspect/workflows/bazelrc @@ -4,3 +4,10 @@ common --nobuild_runfile_links # Allows tests to run bazelisk-in-bazel, since this is the cache folder used common --test_env=XDG_CACHE_HOME + +common:rbe --extra_execution_platforms=@aspect_bazel_lib//platforms:x86_64_linux_remote +common:rbe --host_platform=@aspect_bazel_lib//platforms:x86_64_linux_remote +common:rbe --remote_executor=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc +common:rbe --genrule_strategy=remote,local +common:rbe --jobs=32 +common:rbe --remote_timeout=3600 \ No newline at end of file diff --git a/.aspect/workflows/config.yaml b/.aspect/workflows/config.yaml index cf4d305..ca8b6ae 100644 --- a/.aspect/workflows/config.yaml +++ b/.aspect/workflows/config.yaml @@ -8,6 +8,9 @@ tasks: - configure: queue: aspect-small - test: + bazel: + flags: + - --config=rbe hooks: - type: before_task command: mkdir -p /workflows/artifacts && vmstat -a -S M -t 1 2>&1 > /workflows/artifacts/vmstat.out & diff --git a/platforms/BUILD.bazel b/platforms/BUILD.bazel new file mode 100644 index 0000000..27de620 --- /dev/null +++ b/platforms/BUILD.bazel @@ -0,0 +1,12 @@ +platform( + name = "x86_64_linux_remote", + constraint_values = [ + "@platforms//os:linux", + "@platforms//cpu:x86_64", + ], + exec_properties = { + "OSFamily": "Linux", + "container-image": "docker://public.ecr.aws/docker/library/python@sha256:247105bbbe7f7afc7c12ac893be65b5a32951c1d0276392dc2bf09861ba288a6", + }, + visibility = ["//visibility:public"], +)