Skip to content

Commit

Permalink
Resolve failure on bazel 4 due to usage of ctx.resolve_command
Browse files Browse the repository at this point in the history
  • Loading branch information
jheaff1 committed Nov 9, 2022
1 parent bac1869 commit 74c2fb8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .bazelci/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,13 @@ tasks:
min_supported_targets: &min_supported_targets
- "//..."
build_targets: *min_supported_targets
# experimental_enable_aggregating_middleman=False is required in bazel 4 otherwise ctx.resolve_command fails.
# This was resolved in https://github.com/bazelbuild/bazel/commit/fb1c369530bd26f9a13560c5979929a999e585e2
build_flags:
- "--experimental_enable_aggregating_middleman=False"
test_targets: *min_supported_targets
test_flags:
- "--experimental_enable_aggregating_middleman=False"

buildifier:
version: "4.2.5"
Expand Down

0 comments on commit 74c2fb8

Please sign in to comment.