Skip to content

Commit

Permalink
Reduce number of jobs run in BazelCI (#3010)
Browse files Browse the repository at this point in the history
We're nearing the limit of jobs in BazelCI so I'd like to remove a few I
don't think provide that much value and consolidate others.
  • Loading branch information
UebelAndre authored Nov 20, 2024
1 parent b7e7c20 commit d9bbb1d
Show file tree
Hide file tree
Showing 199 changed files with 1 addition and 23,057 deletions.
52 changes: 1 addition & 51 deletions .bazelci/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ crate_universe_vendor_example_targets: &crate_universe_vendor_example_targets
- "//vendor_local_pkgs:crates_vendor"
- "//vendor_remote_manifests:crates_vendor"
- "//vendor_remote_pkgs:crates_vendor"
crate_universe_unnamed_vendor_example_targets: &crate_universe_unnamed_vendor_example_targets
- "//vendor_remote_manifests:crates_vendor"
- "//vendor_remote_pkgs:crates_vendor"
coverage_validation_post_shell_commands: &coverage_validation_post_shell_commands
- |
grep -q '^SF:.*\.rs$' bazel-out/_coverage/_coverage_report.dat \
Expand Down Expand Up @@ -378,12 +375,8 @@ tasks:
name: Rust-Analyzer Tests
platform: ubuntu2004
run_targets:
- "//tools/rust_analyzer:gen_rust_project"
- "//test/rust_analyzer:rust_analyzer_test"
rust_analyzer_integration_test:
name: Rust-Analyzer Integration Test
platform: ubuntu2004
run_targets:
- "@rules_rust//tools/rust_analyzer:gen_rust_project"
examples_rust_analyzer_integration_test:
name: Rust-Analyzer Integration Test
platform: ubuntu2004
Expand Down Expand Up @@ -491,16 +484,6 @@ tasks:
test_targets:
- "//..."
build_flags: *aspects_flags
crate_universe_unnamed_examples_ubuntu2004:
name: Crate Universe Unnamed Examples
platform: ubuntu2004
working_directory: examples/crate_universe_unnamed
run_targets: *crate_universe_unnamed_vendor_example_targets
build_targets:
- "//..."
test_targets:
- "//..."
build_flags: *aspects_flags
crate_universe_rbe_ubuntu2004:
name: Crate Universe Examples
platform: rbe_ubuntu2004
Expand All @@ -514,19 +497,6 @@ tasks:
test_targets:
- "//..."
build_flags: *aspects_flags
crate_universe_unnamed_rbe_ubuntu2004:
name: Crate Universe Unnamed Examples
platform: rbe_ubuntu2004
working_directory: examples/crate_universe_unnamed
shell_commands:
- sed -i 's/^# load("@bazel_ci_rules/load("@bazel_ci_rules/' WORKSPACE.bazel
- sed -i 's/^# rbe_preconfig/rbe_preconfig/' WORKSPACE.bazel
run_targets: *crate_universe_unnamed_vendor_example_targets
build_targets:
- "//..."
test_targets:
- "//..."
build_flags: *aspects_flags
crate_universe_examples_macos:
name: Crate Universe Examples
platform: macos_arm64
Expand All @@ -537,16 +507,6 @@ tasks:
test_targets:
- "//..."
build_flags: *aspects_flags
crate_universe_unnamed_examples_macos:
name: Crate Universe Unnamed Examples
platform: macos_arm64
working_directory: examples/crate_universe_unnamed
run_targets: *crate_universe_unnamed_vendor_example_targets
build_targets:
- "//..."
test_targets:
- "//..."
build_flags: *aspects_flags
# See https://github.com/bazelbuild/rules_rust/issues/2186 about re-enabling these.
# crate_universe_examples_windows:
# name: Crate Universe Examples
Expand All @@ -557,16 +517,6 @@ tasks:
# build_targets:
# - "//..."
# test_targets:
# - "//..."
# crate_universe_unnamed_examples_windows:
# name: Crate Universe Unnamed Examples
# platform: windows
# working_directory: examples/crate_universe_unnamed
# run_targets: *crate_universe_unnamed_vendor_example_targets
# build_flags: *aspects_flags
# build_targets:
# - "//..."
# test_targets:
# - "//..."
cc_common_link_ubuntu2004:
name: Build via cc_common.link
Expand Down
26 changes: 0 additions & 26 deletions examples/crate_universe_unnamed/.bazelrc

This file was deleted.

1 change: 0 additions & 1 deletion examples/crate_universe_unnamed/.bazelversion

This file was deleted.

3 changes: 0 additions & 3 deletions examples/crate_universe_unnamed/.gitignore

This file was deleted.

Empty file.
22 changes: 0 additions & 22 deletions examples/crate_universe_unnamed/DEVELOPMENT.md

This file was deleted.

1 change: 0 additions & 1 deletion examples/crate_universe_unnamed/README.md

This file was deleted.

60 changes: 0 additions & 60 deletions examples/crate_universe_unnamed/WORKSPACE.bazel

This file was deleted.

This file was deleted.

Loading

0 comments on commit d9bbb1d

Please sign in to comment.