Hi everyone,
I'd like to give a heads-up about a proposed change to KubeVirt's build system: PR #17598.
What is being proposed?
Migration of all container image builds from rules_oci to rules_img v0.3.9, along with upgrading Bazel from 6.5.0 to 7.5.0 and Java from 11 to 21 in the builder images.
The key changes include:
Why?
The primary motivation is enabling native s390x platform support for KubeVirt builds (issue #17113). rules_oci lacks native s390x support, which blocks the addition of a dedicated s390x presubmit test lane (project-infra#4595).
Additionally, rules_img provides proper platform validation -- builds fail fast if a base image doesn't match the target architecture, instead of silently producing images with wrong-platform base layers.
Potential downstream impact
If you have automation or projects that depend on KubeVirt's Bazel workspace, please be aware of:
If you have any concerns or questions about downstream compatibility, please comment on the PR or reply to this thread.
Thanks,
Siddu Vamsikrishna,
Software Engineer- OpenShift Virtualization on IBM Z,
IBM R&D Bangalore.