Skip to content

Commit fb3cc39

Browse files
committed
chore: switch to Aspect Workflows on Buildkite
1 parent bbce476 commit fb3cc39

21 files changed

+27
-523
lines changed

.aspect/workflows/README.md

Lines changed: 0 additions & 26 deletions
This file was deleted.

.aspect/workflows/bazelrc

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,10 @@
22
common --remote_download_outputs=minimal
33
common --nobuild_runfile_links
44

5-
# Debug where options came from
6-
common --announce_rc
7-
8-
# Allows tests to run bazelisk-in-bazel, since this is the cache folder used
9-
common --test_env=XDG_CACHE_HOME
10-
11-
# Always enable remote execution.
12-
# We test the local execution case in the "vanilla GitHub Actions" setup in /.github/workflows/ci.yaml
13-
build --host_platform=@aspect_bazel_lib//platforms:x86_64_linux_remote
14-
build --extra_execution_platforms=@aspect_bazel_lib//platforms:x86_64_linux_remote
15-
build --remote_executor=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
16-
build --jobs=8 # current max scaling for the OSS RBE cluster
17-
build --remote_timeout=3600
18-
build --genrule_strategy=remote
5+
# remote execution
6+
common:rbe --extra_execution_platforms=//bazel/platforms:x86_64_linux_remote
7+
common:rbe --host_platform=//bazel/platforms:x86_64_linux_remote
8+
common:rbe --remote_executor=unix:///mnt/ephemeral/buildbarn/.cache/bb_clientd/grpc
9+
common:rbe --genrule_strategy=remote,local
10+
common:rbe --jobs=32
11+
common:rbe --remote_timeout=3600

.aspect/workflows/config.yaml

Lines changed: 6 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,13 @@
1-
# See https://docs.aspect.build/workflows/config
2-
---
1+
# See https://docs.aspect.build/workflows/configuration
32
tasks:
43
- format:
5-
queue: aspect-small
4+
queue: aspect-medium
65
- buildifier:
7-
queue: aspect-small
6+
queue: aspect-medium
87
- configure:
9-
queue: aspect-small-graviton
8+
queue: aspect-medium
109
- test:
11-
hooks:
12-
- type: before_task
13-
command: mkdir -p /workflows/artifacts && vmstat -a -S M -t 1 2>&1 > /workflows/artifacts/vmstat.out &
14-
- type: after_task
15-
command: cat /workflows/artifacts/vmstat.out
16-
- delivery:
17-
auto_deliver: true
18-
rules:
19-
- deliverable: 'attr("tags", "\bdeliverable\b", //...)'
20-
condition:
21-
branches:
22-
- main
23-
- deliverable:
24-
- //docs:docs_delivery
25-
condition:
26-
only_on_change: false
27-
branches:
28-
- main
10+
- finalization:
11+
queue: aspect-small
2912
notifications:
3013
github: {}

.github/workflows/.aspect-workflows-reusable.yaml

Lines changed: 0 additions & 187 deletions
This file was deleted.

.github/workflows/BUILD.bazel

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
load("@aspect_bazel_lib//lib:bazelrc_presets.bzl", "write_aspect_bazelrc_presets")
2-
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
3-
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")
42

53
write_aspect_bazelrc_presets(
64
name = "update_aspect_bazelrc_presets",
@@ -9,16 +7,3 @@ write_aspect_bazelrc_presets(
97
"bazel7",
108
],
119
)
12-
13-
write_source_file(
14-
name = "aspect_workflows_reusable",
15-
in_file = "@aspect_workflows_action//:.github/workflows/.aspect-workflows-reusable.yaml",
16-
out_file = ".aspect-workflows-reusable.yaml",
17-
)
18-
19-
bzl_library(
20-
name = "deps",
21-
srcs = ["deps.bzl"],
22-
visibility = ["//visibility:public"],
23-
deps = ["@bazel_tools//tools/build_defs/repo:http.bzl"],
24-
)

.github/workflows/aspect-workflows-delivery.yaml

Lines changed: 0 additions & 50 deletions
This file was deleted.

.github/workflows/aspect-workflows-warming.yaml

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)