Repository navigation
feat: multi-arch python-builder image via buildah-remote - #121
Merged
Jonathan Gangi (JAVGan) merged 1 commit intoNov 9, 2026
Conversation
Build the native Containerfile for amd64/arm64/s390x/ppc64le with TARGETARCH-baked AUDITWHEEL_ARCH, per-arch rustup hashes, and a ppc64le Arrow xsimd fix. Switch the python-builder PAC pipelines to a buildah-remote matrix and OCI image index. Assisted-by: Cursor Signed-off-by: Fabrizio Asta <fasta@redhat.com> Co-authored-by: Cursor <cursoragent@cursor.com>
Contributor
|
/ok-to-test |
Jonathan Gangi (JAVGan)
merged commit Nov 9, 2026
7429611
into
konflux-lightwell:main
4 of 7 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable multi-architecture builds of the native
python-builderimage (Containerfile) on Konflux forlinux/amd64,linux/arm64,linux/s390x, andlinux/ppc64le.This PR is intentionally scoped to only what the
python-builderPAC pipelines need to produce a correct multi-arch image index. It does not include:Containerfile.cli/python-builder-cliPAC changespython-fromager-build-wheels-remotetask, generator, or PAC pipelinesThose will follow in separate PRs to keep review small.
Why
Today
python-builderbuilds with single-archbuildah-oci-ta. Non-x86 hosts need:AUDITWHEEL_ARCH/AUDITWHEEL_PLATbaked into the image for the target CPUrustup-initdigests (the old Containerfile only verified the x86_64 hash)What changed
Image build (
Containerfile+ scripts)ARG TARGETARCH+runtime_base_packages_{amd64,arm64,s390x,ppc64le}stagesAUDITWHEEL_ARCH/PLATfrom buildah’s--platform/TARGETARCHbuild_utils.sh+manylinux-entrypointuname remapbuild-rust.shper-arch rustup-init sha256RUSTUP_VERSION=1.29.1RUSTUP_HASHfromContainerfilebuild-rust.shxsimd14.2.0 → 14.3.0 sed inbuild-arrow.shlong/__vector boolfailure on ppc64lePAC pipelines (
.tekton/python-builder-{pull-request,push}.yaml)build-container(buildah-oci-ta) → matrixedbuild-images(buildah-remote-oci-ta)build-platforms:linux/x86_64,linux/arm64,linux/s390x,linux/ppc64lebuild-image-index: trueand feed$(tasks.build-images.results.IMAGE_REF[*])intobuild-image-indexIMAGE_APPEND_PLATFORM=trueso per-arch tags do not collide before the index is builtmainexcept the build task (remote bundle)Docs-only notes
IMPLEMENTATION_SUMMARY.md,MIGRATION_STATUS.md, andVERSION_UPDATES.mdupdated to describe per-arch rustup hashes (no behavior change beyond the scripts above).Notes for reviewers
linux/arm64(not a machine-size override). Adjust if lightwell MPC requires a sized pool (e.g.linux-m2xlarge/arm64).konflux-lightwell/python-buildermain(includes recent Containerfile stages such as libpq/gpgme/librdkafka); multi-arch patches were reapplied on top rather than replaying an older branch tip.Made with Cursor