Skip to content

Commit

Permalink
chore: switch to Aspect Workflows on Buildkite
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Dec 30, 2024
1 parent 4e9f0e8 commit ee2be77
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 500 deletions.
26 changes: 0 additions & 26 deletions .aspect/workflows/README.md

This file was deleted.

10 changes: 4 additions & 6 deletions .aspect/workflows/bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,10 @@
common --remote_download_outputs=minimal
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
# remote execution
common:rbe --extra_execution_platforms=//bazel/platforms:x86_64_linux_remote
common:rbe --host_platform=//bazel/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
common:rbe --remote_timeout=3600
32 changes: 6 additions & 26 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,13 @@
# See https://docs.aspect.build/v/workflows/config
---
# See https://docs.aspect.build/workflows/configuration
tasks:
- format:
queue: aspect-small
queue: aspect-medium
- buildifier:
queue: aspect-small
queue: aspect-medium
- configure:
queue: aspect-small
queue: aspect-medium
- 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 &
- type: after_task
command: cat /workflows/artifacts/vmstat.out
- delivery:
auto_deliver: true
rules:
- deliverable: 'attr("tags", "\bdeliverable\b", //...)'
condition:
branches:
- main
- deliverable:
- //docs:docs_delivery
condition:
only_on_change: false
branches:
- main
- finalization:
queue: aspect-small
notifications:
github: {}
187 changes: 0 additions & 187 deletions .github/workflows/.aspect-workflows-reusable.yaml

This file was deleted.

15 changes: 0 additions & 15 deletions .github/workflows/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
load("@aspect_bazel_lib//lib:bazelrc_presets.bzl", "write_aspect_bazelrc_presets")
load("@aspect_bazel_lib//lib:write_source_files.bzl", "write_source_file")
load("@bazel_skylib//:bzl_library.bzl", "bzl_library")

write_aspect_bazelrc_presets(
name = "update_aspect_bazelrc_presets",
Expand All @@ -9,16 +7,3 @@ write_aspect_bazelrc_presets(
"bazel7",
],
)

write_source_file(
name = "aspect_workflows_reusable",
in_file = "@aspect_workflows_action//:.github/workflows/.aspect-workflows-reusable.yaml",
out_file = ".aspect-workflows-reusable.yaml",
)

bzl_library(
name = "deps",
srcs = ["deps.bzl"],
visibility = ["//visibility:public"],
deps = ["@bazel_tools//tools/build_defs/repo:http.bzl"],
)
50 changes: 0 additions & 50 deletions .github/workflows/aspect-workflows-delivery.yaml

This file was deleted.

32 changes: 0 additions & 32 deletions .github/workflows/aspect-workflows-warming.yaml

This file was deleted.

Loading

0 comments on commit ee2be77

Please sign in to comment.