ci: native per-arch builders (drop QEMU)#86
Merged
Conversation
amd64 on buildkit (node-3) + arm64 on buildkit-arm64 (arm64 Pi), native; buildx merges. Same client cert (shared buildkit-ca). QEMU arm64 Rust builds ran for hours. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Builds each architecture on its own native BuildKit builder and lets buildx merge the manifest, replacing QEMU-emulated arm64 (which ran for hours on Rust builds).
The cluster now runs two native BuildKit builders sharing one CA:
buildkit(amd64, node-3)buildkit-arm64(arm64 Pi)The runner's existing client cert (
BUILDKIT_TLS_DIR) authenticates to both. This PR keeps the primary remote endpoint forlinux/amd64anddocker buildx create --appends the arm64 endpoint (tcp://buildkit-arm64.dev.svc.cluster.local:1234) with--platform linux/arm64, reusing the same cacert/cert/key and verifying each endpoint against its own server SAN viaservername.build-push-actionkeepsplatforms: linux/amd64,linux/arm64.Note: this repo drives buildx via
docker buildx createdirectly (notdocker/setup-buildx-action), so the multi-node builder is assembled with--appendrather than the action'sappend:block — same idea.The
serverjob's pre-existingcargo clippy -D warningsfailure is unrelated to this change.🤖 Generated with Claude Code