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

Update osbuild/images to v0.111.0 #4568

Merged
merged 6 commits into from
Jan 29, 2025
Merged

Conversation

mvo5
Copy link
Contributor

@mvo5 mvo5 commented Jan 20, 2025

edit: draft as I'm stuggeling right now with the weldr tests and the repo_id integration there

This is a WIP branch to port osbuild-composer to the latest version of images. The notable change is the inclusion of the librepo support which changes the manifest.Serialize() API but it also adds extra fields like "repo_id" into the package spec.

EDIT (akoutsou): Fixed up the tests. Had to add repo IDs to a lot of mock responses. Some of them needed to be added by the test function separately because they change based on the repo config.

@achilleas-k achilleas-k force-pushed the update-api-for-pr1142 branch from 5c03ec6 to 9d4d174 Compare January 24, 2025 19:07
@achilleas-k achilleas-k marked this pull request as ready for review January 24, 2025 19:07
@achilleas-k achilleas-k force-pushed the update-api-for-pr1142 branch from 9d4d174 to d90c951 Compare January 24, 2025 19:08
@achilleas-k achilleas-k changed the title WIP - port to images#1107 Update osbuild/images to v0.111.0 Jan 24, 2025
thozza
thozza previously approved these changes Jan 28, 2025
Copy link
Member

@thozza thozza left a comment

Choose a reason for hiding this comment

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

Thanks! Everything looks good 👍

internal/weldr/api.go Show resolved Hide resolved
@thozza thozza enabled auto-merge (rebase) January 28, 2025 11:19
@achilleas-k
Copy link
Member

Lot of failures in CI and I don't think they're flakes. Looking into them.

mvo5 and others added 3 commits January 29, 2025 15:02
Update the weldr API to work with the new depsolve API.
Update tests to match (adding repo_id).

Co-authored-by: Achilleas Koutsou <achilleas@koutsou.net>
@mvo5 mvo5 force-pushed the update-api-for-pr1142 branch from b18c8e7 to f9bb944 Compare January 29, 2025 15:12
@mvo5
Copy link
Contributor Author

mvo5 commented Jan 29, 2025

Thank you so much @achilleas-k for helping with this one!

@thozza thozza merged commit e8a0e8f into osbuild:main Jan 29, 2025
43 of 46 checks passed
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