-
Notifications
You must be signed in to change notification settings - Fork 696
Closed as not planned
Labels
Can Close?Will close in 30 days unless there is a comment indicating why notWill close in 30 days unless there is a comment indicating why not
Description
(04:03:10) ERROR: /var/lib/buildkite-agent/builds/bk-docker-9znq/bazel-downstream-projects/rules_docker/tests/container/BUILD:817:16: While resolving toolchains for target //tests/container:alpine_arch_ppc64le: no matching toolchains found for types //toolchains/docker:toolchain_type
(04:03:10) ERROR: Analysis of target '//tests/container:architecture_test' failed; build aborted:
A bisect shows the breaking change is: bazelbuild/bazel@98d376f
I suspect it has something to do with how platform transition is defined here:
Lines 60 to 84 in 4c6d61c
| _IMAGE_TRANSITION_CONSTRAINTS = [ | |
| ("cpu", "@platforms//cpu"), | |
| ("os", "@platforms//os"), | |
| ] | |
| [[ | |
| # Use a constraint value which will never be valid to prevent | |
| # accidentally leaving the associated constraint setting unset. | |
| constraint_value( | |
| name = "image_transition_{}_unset".format(name), | |
| constraint_setting = constraint_setting, | |
| ), | |
| label_setting( | |
| name = "image_transition_{}".format(name), | |
| build_setting_default = ":image_transition_{}_unset".format(name), | |
| ), | |
| ] for name, constraint_setting in _IMAGE_TRANSITION_CONSTRAINTS] | |
| platform( | |
| name = "image_transition", | |
| constraint_values = [ | |
| ":image_transition_{}".format(name) | |
| for name, _ in _IMAGE_TRANSITION_CONSTRAINTS | |
| ], | |
| ) |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Can Close?Will close in 30 days unless there is a comment indicating why notWill close in 30 days unless there is a comment indicating why not