Skip to content

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

Merged
achilleas-k merged 2 commits into
osbuild: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 into
osbuild:mainfrom
thozza:cross-arch-test-pinned-osbuild

Conversation

@thozza

@thozza thozza commented Jan 19, 2026

Copy link
Copy Markdown
Member

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
achilleas-k pushed a commit to achilleas-k/image-builder that referenced this pull request Jun 17, 2026
This bumps the osbuild/images to the version that uses depsolver V2
API.

Also bump the minimum required osbuild version and pin it in the
Schutzfile.

Changes with 0.235.0

----------------
  - Align the bootc distro package with the generic one (osbuild#2136)
    - Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal, Tomáš Hozza
  - Ensure pinned osbuild version is used consistently in CI and build command. (HMS-10070) (osbuild#2145)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - GHA: bump used golangci-lint version to 2.8 (HMS-10069) (osbuild#2144)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Lukáš Zapletal
  - Update osbuild dependency commit ID (osbuild#2141)
    - Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
  - Use the correct libvirt pool instead of hardcoded default (osbuild#2147)
    - Author: Jakub Kadlčík, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - boot-image: add make_check_host_config to boot-aws (osbuild#2143)
    - Author: Lukáš Zapletal, Reviewers: Simon de Vlieger, Tomáš Hozza
  - osbuild: add force option to org.osbuild.groups and always enable [HMS-9825] (osbuild#2146)
    - Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Lukáš Zapletal, Tomáš Hozza

— Somewhere on the Internet, 2026-01-26

---

Changes with 0.236.0

----------------
  - Add V2 depsolver API support and make it the default (HMS-10029) (osbuild#2139)
    - Author: Tomáš Hozza, Reviewers: Lukáš Zapletal, Simon de Vlieger

— Somewhere on the Internet, 2026-01-26

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
achilleas-k pushed a commit to achilleas-k/image-builder that referenced this pull request Jun 17, 2026
This bumps the osbuild/images to the version that uses depsolver V2
API.

Also bump the minimum required osbuild version and pin it in the
Schutzfile.

Changes with 0.235.0

----------------
  - Align the bootc distro package with the generic one (osbuild#2136)
    - Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal, Tomáš Hozza
  - Ensure pinned osbuild version is used consistently in CI and build command. (HMS-10070) (osbuild#2145)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - GHA: bump used golangci-lint version to 2.8 (HMS-10069) (osbuild#2144)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Lukáš Zapletal
  - Update osbuild dependency commit ID (osbuild#2141)
    - Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
  - Use the correct libvirt pool instead of hardcoded default (osbuild#2147)
    - Author: Jakub Kadlčík, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - boot-image: add make_check_host_config to boot-aws (osbuild#2143)
    - Author: Lukáš Zapletal, Reviewers: Simon de Vlieger, Tomáš Hozza
  - osbuild: add force option to org.osbuild.groups and always enable [HMS-9825] (osbuild#2146)
    - Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Lukáš Zapletal, Tomáš Hozza

— Somewhere on the Internet, 2026-01-26

---

Changes with 0.236.0

----------------
  - Add V2 depsolver API support and make it the default (HMS-10029) (osbuild#2139)
    - Author: Tomáš Hozza, Reviewers: Lukáš Zapletal, Simon de Vlieger

— Somewhere on the Internet, 2026-01-26

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
achilleas-k pushed a commit to achilleas-k/image-builder that referenced this pull request Jun 18, 2026
This bumps the osbuild/images to the version that uses depsolver V2
API.

Also bump the minimum required osbuild version and pin it in the
Schutzfile.

Changes with 0.235.0

----------------
  - Align the bootc distro package with the generic one (osbuild#2136)
    - Author: Achilleas Koutsou, Reviewers: Lukáš Zapletal, Tomáš Hozza
  - Ensure pinned osbuild version is used consistently in CI and build command. (HMS-10070) (osbuild#2145)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - GHA: bump used golangci-lint version to 2.8 (HMS-10069) (osbuild#2144)
    - Author: Tomáš Hozza, Reviewers: Achilleas Koutsou, Lukáš Zapletal
  - Update osbuild dependency commit ID (osbuild#2141)
    - Author: SchutzBot, Reviewers: Achilleas Koutsou, Tomáš Hozza
  - Use the correct libvirt pool instead of hardcoded default (osbuild#2147)
    - Author: Jakub Kadlčík, Reviewers: Achilleas Koutsou, Simon de Vlieger
  - boot-image: add make_check_host_config to boot-aws (osbuild#2143)
    - Author: Lukáš Zapletal, Reviewers: Simon de Vlieger, Tomáš Hozza
  - osbuild: add force option to org.osbuild.groups and always enable [HMS-9825] (osbuild#2146)
    - Author: Achilleas Koutsou, Reviewers: Brian C. Lane, Lukáš Zapletal, Tomáš Hozza

— Somewhere on the Internet, 2026-01-26

---

Changes with 0.236.0

----------------
  - Add V2 depsolver API support and make it the default (HMS-10029) (osbuild#2139)
    - Author: Tomáš Hozza, Reviewers: Lukáš Zapletal, Simon de Vlieger

— Somewhere on the Internet, 2026-01-26

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
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