Skip to content

Commit

Permalink
chore: cleanup Workflows config
Browse files Browse the repository at this point in the history
  • Loading branch information
gregmagolan committed Dec 30, 2024
1 parent b43f3f4 commit 41d3c90
Show file tree
Hide file tree
Showing 14 changed files with 19 additions and 288 deletions.
12 changes: 4 additions & 8 deletions .aspect/workflows/bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,10 @@
common --remote_download_outputs=minimal
common --nobuild_runfile_links

# generate build_event_log binary build event profile file
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: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
155 changes: 3 additions & 152 deletions .aspect/workflows/config.yaml
Original file line number Diff line number Diff line change
@@ -1,64 +1,40 @@
---
# See https://docs.aspect.build/workflows/configuration
workspaces:
.:
icon: js
label: rules_js
tasks:
- test:
bazel:
flags:
- --config=rbe
e2e/bzlmod:
icon: bazel
tasks:
- test:
queue: aspect-default
bazel:
flags:
- --config=rbe
queue: aspect-medium
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/gyp_no_install_script:
icon: npm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
# rules_docker not compatible with Bazel 7.
# See https://github.com/bazelbuild/bazel/issues/20494#issuecomment-1852401451.
# e2e/js_image_docker:
e2e/js_image_oci:
icon: linux
tasks:
- test:
queue: aspect-default
bazel:
flags:
- --config=rbe
queue: aspect-medium
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
# No test targets. Requires running test.sh.
# e2e/js_run_devserver:
e2e/npm_link_package:
Expand All @@ -70,10 +46,6 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_link_package-esm:
icon: npm
tasks:
Expand All @@ -83,58 +55,33 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_lock:
icon: npm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_lock_replace_packages:
icon: npm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_lock_empty:
icon: npm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_lock_multi:
icon: npm
tasks:
Expand All @@ -144,10 +91,6 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_lock_partial_clone:
icon: npm
tasks:
Expand All @@ -157,10 +100,6 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_lock_subdir_patch:
icon: npm
tasks:
Expand All @@ -170,10 +109,6 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
# Requires an auth token
# e2e/npm_translate_lock_auth:
# Requires an SSH token
Expand All @@ -187,10 +122,6 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/npm_translate_yarn_lock:
icon: yarn
tasks:
Expand All @@ -200,10 +131,6 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/package_json_module:
icon: npm
tasks:
Expand All @@ -213,106 +140,60 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/pnpm_lockfiles:
icon: pnpm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/pnpm_workspace:
icon: pnpm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/pnpm_workspace_rerooted:
icon: pnpm
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/repo_mapping:
icon: js
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/runfiles:
icon: js
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/rules_foo:
icon: js
tasks:
- test:
queue: aspect-medium
bazel:
flags:
- --config=rbe
- format:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
e2e/vendored_node:
icon: js
tasks:
Expand All @@ -322,47 +203,17 @@ workspaces:
without: true
- buildifier:
without: true
- configure:
without: true
- delivery:
without: true
# No test targets. Requires running test.sh.
# e2e/webpack_devserver:
# e2e/webpack_devserver_esm:
tasks:
- checkout:
update_strategy: rebase
- test:
hooks:
- type: before_task
command: vmstat -a -S M -t 1 2>&1 > vmstat.out &
- type: after_task
command: cat vmstat.out
artifact_paths:
- vmstat.out
- build_event_log.bin
- format:
queue: aspect-medium
- buildifier:
queue: aspect-medium
- configure:
queue: aspect-medium
- delivery:
auto_deliver: true
stamp_flags:
- --stamp
- --workspace_status_command="${PWD}/workspace_status.sh"
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:
Expand Down
31 changes: 0 additions & 31 deletions .github/workflows/new_issue.yaml

This file was deleted.

Loading

0 comments on commit 41d3c90

Please sign in to comment.