Skip to content

Ensure pinned osbuild version is used consistently in CI and build command. (HMS-10070)#2145

Merged
achilleas-k merged 2 commits intoosbuild:mainfrom
thozza:cross-arch-test-pinned-osbuild
Jan 19, 2026
Merged

Ensure pinned osbuild version is used consistently in CI and build command. (HMS-10070)#2145
achilleas-k merged 2 commits intoosbuild:mainfrom
thozza:cross-arch-test-pinned-osbuild

Conversation

@thozza
Copy link
Member

@thozza thozza commented Jan 19, 2026

The cross-arch QEMU test in GitHub Actions was inadvertently installing osbuild from Fedora's official repositories instead of using the pinned commit specified in Schutzfile. This caused test failures when the Fedora-packaged version lagged behind requirements. Additionally, the cmd/build command now explicitly checks the minimum osbuild version before performing any operations, ensuring both depsolve and build phases use a compatible osbuild version.

/jira-epic HMS-8910

JIRA: HMS-10070

It turned out that the corss-arch QEMU test was installing osbuild from
the Fedora official repositories. This is not desired, because we are
pinning osbuild commit in the Schutzfile. As a result, cross-arch tests
break when the osbuild version in Fedora repositories is not new enough
for the images library version.

Modify the test case to setup pinned osbuild repositories, before
installing any packages.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
To ensure that we depsolve and build with the minimum required osbuild
version, check it explicitly before doing anything else.

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
@thozza thozza requested a review from a team as a code owner January 19, 2026 09:47
@thozza thozza requested review from bcl, lzap and supakeen January 19, 2026 09:47
@schutzbot schutzbot changed the title Ensure pinned osbuild version is used consistently in CI and build command. Ensure pinned osbuild version is used consistently in CI and build command. (HMS-10070) Jan 19, 2026
@thozza thozza requested a review from achilleas-k January 19, 2026 10:42
@achilleas-k achilleas-k added this pull request to the merge queue Jan 19, 2026
Merged via the queue into osbuild:main with commit 72fb942 Jan 19, 2026
26 checks passed
@thozza thozza deleted the cross-arch-test-pinned-osbuild branch January 19, 2026 18:17
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