Skip to content

bootc-image-builder: boot AMI in AWS after cross-arch building [HMS-11073] - #2644

Merged
ondrejbudai merged 3 commits into
osbuild:mainfrom
achilleas-k:bib/test/cross-arch-boot
Sep 10, 2026
Merged

ondrejbudai merged 3 commits into
osbuild:mainfrom
achilleas-k:bib/test/cross-arch-boot

Conversation

@achilleas-k

Copy link
Copy Markdown
Member

bootc-image-builder: rename qemu-cross test case to ami-cross

The test case was already building a raw image, which is identical to
the ami. Explicitly building an "ami" (as opposed to "raw") takes care
of uploading to AWS.


bootc-image-builder: boot AMI in AWS after cross-arch building

Boot testing the artifact of a cross-arch build with emulation is slow
and unreliable. For cross-arch tests, build and upload AMIs and test
them on machines that match the image architecture.


The test case was already building a raw image, which is identical to
the ami.  Explicitly building an "ami" (as opposed to "raw") takes care
of uploading to AWS.
@achilleas-k
achilleas-k requested a review from a team as a code owner September 2, 2026 09:38
Boot testing the artifact of a cross-arch build with emulation is slow
and unreliable.  For cross-arch tests, build and upload AMIs and test
them on machines that match the image architecture.

This commit also drops the skip decorator to enable the boot test.
@achilleas-k
achilleas-k force-pushed the bib/test/cross-arch-boot branch from 16b0938 to 063f461 Compare September 2, 2026 09:58

@brlane-rht brlane-rht left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@ondrejbudai
ondrejbudai added this pull request to the merge queue Sep 10, 2026
Merged via the queue into osbuild:main with commit 218217c Sep 10, 2026
58 of 59 checks passed
@achilleas-k
achilleas-k deleted the bib/test/cross-arch-boot branch September 15, 2026 09:43
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.

3 participants