Conversation
zarcen
force-pushed
the
bink-arm64-ci-images
branch
from
September 15, 2026 23:50
6b58b85 to
e32ee21
Compare
Cross-compiling doesn't work here (CGO for bink, dnf-installed RPMs for cluster/dns), so build each arch natively and assemble a manifest list, mirroring bootc-operator's own multi-arch pattern. Assisted-by: AI Signed-off-by: Wei-Chen Chen <zarcen@gmail.com>
zarcen
force-pushed
the
bink-arm64-ci-images
branch
from
September 16, 2026 00:26
e32ee21 to
6498296
Compare
zarcen
marked this pull request as ready for review
September 16, 2026 00:31
Collaborator
|
@zarcen many thanks for the work, the problem is that without the node image we cannot run the tests, and it becomes hard to validate the entire setup. As far as it regards, the access to kvm. How does it work with emulation? Is it too slow or is this somehow acceptable? |
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
bink CLI, cluster, and DNS images are amd64-only, blocking arm64 support for bootc-operator (bootc-dev/bootc-operator#145). None of the three cross-compile: the CLI links CGO, cluster/DNS are pure RPM installs. This builds each arch natively (
ubuntu-24.04,ubuntu-24.04-arm), then assembles a v2s2 manifest list in a separatepushjob, mirroring bootc-operator's existing pattern (bootc-dev/bootc-operator@7b3b091).Testing
Dispatched all three workflows with
push: falseon this branch from my fork. Both arches built successfully for all three images, including the CGO build. Thepush/manifest job itself needs GHCR write access and wasn't exercised here; its logic mirrors bootc-operator's already-merged manifest job.How to validate
on a fork, or merge and watch the real push run on
main.Validation result
Also tested to really push to my ghcr so I can sanity check the image manifest:
Started a local bink cluster locally on Apple Silicon (arm64) :
Out of scope
ghcr.io/bootc-dev/bink/node(the bootc VM disk image, built inintegration-tests.yml'sbuild-node-imagesjob) is not covered here. Turns out getting it to arm64 is bigger than expected: the currentbcvk to-diskstep hard-requires/dev/kvm, and GitHub-hostedubuntu-24.04-armrunners don't expose one at all. There's a promising KVM-free path viabootc-image-builder, but that means swapping the actual disk-build tool, a bigger architecture change than fits here. I will track it in a follow-up PR.Partially addresses #140: covers the bink CLI, cluster, and DNS images
Assisted-by: AI
I'm knowledgeable in this problem domain and reviewed the diff and CI run logs carefully. Besides, to ensure the PR quality, several rounds of manually validation and test are conducted