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 9a5b17a
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .bazelci/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,14 @@ tasks:
platform: ubuntu1804
build_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:
- "//..."
test_flags:
- "--experimental_enable_aggregating_middleman=False"
min_supported_version_examples:
name: "Minimum Supported Version Examples"
bazel: "4.0.0"
Expand All @@ -201,7 +207,12 @@ tasks:
min_supported_targets: &min_supported_targets
- "//..."
build_targets: *min_supported_targets
# See comment above regarding --experimental_enable_aggregating_middleman=False
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 9a5b17a

Please sign in to comment.