Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build ARM packages without QEMU emulation #682

Merged
merged 16 commits into from
Feb 20, 2025

Conversation

lfittl
Copy link
Member

@lfittl lfittl commented Feb 19, 2025

This splits the package building and testing logic into x86_64 and arm64 targets, and allows triggering either both, or just one of them.

It also changes the GitHub actions for package testing and release to no longer use QEMU emulation (which recently started failing with segfaults), and instead uses separate runners for each architecture.

In passing remove stale "DOCKER_BUILDKIT=1" settings from package release action, which should no longer be needed since GH actions updated their Docker version.

This splits the package building and testing logic into x86_64 and arm64
targets, and allows triggering either both, or just one of them.

It also changes the GitHub actions for package testing and release to
no longer use QEMU emulation (which recently started failing with
segfaults), and instead uses separate runners for each architecture.

In passing remove stale "DOCKER_BUILDKIT=1" settings from package release
action, which should no longer be needed since GH actions updated their
Docker version.
@msakrejda
Copy link
Contributor

Hmm, it looks like the latest package build is hanging for ARM:

Wed, 19 Feb 2025 22:43:23 GMT #7 DONE 11.1s
Wed, 19 Feb 2025 22:43:24 GMT #8 [3/3] COPY . /root
Wed, 19 Feb 2025 22:43:24 GMT #8 DONE 0.2s
Wed, 19 Feb 2025 22:43:24 GMT #9 exporting to image
Wed, 19 Feb 2025 22:43:24 GMT #9 exporting layers
Wed, 19 Feb 2025 22:43:25 GMT #9 exporting layers 1.3s done
Wed, 19 Feb 2025 22:43:25 GMT #9 writing image sha256:6add363821a4ff2812d559714ac9dadb18bf0f28c3854a5273c91bba77b19105 done
Wed, 19 Feb 2025 22:43:25 GMT #9 naming to docker.io/library/pga-collector-test 0.0s done
Wed, 19 Feb 2025 22:43:25 GMT #9 DONE 1.4s
Wed, 19 Feb 2025 22:43:25 GMT c755818d475c69a632316033b436125b5351a6156d8ea75c36e81b701b2cf05e

It's now an hour later, and there has been no output since.

@lfittl lfittl merged commit 5f539e9 into main Feb 20, 2025
5 checks passed
@lfittl lfittl deleted the build-arm-packages-without-emulation branch February 20, 2025 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants