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

CI: test integration to osbuild-composer as part of PRs #419

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

thozza
Copy link
Member

@thozza thozza commented Feb 1, 2024

It would be useful to explicitly test if the code change proposed in the PR integrates cleanly to osbuild-composer or if it will require additional work there. The cheapest way to test it is to try to replace the osbuild/images ref in the osbuild-composer@main and run Golang lint and unit tests.

These test cases should not be blocking. The intention is to provide feedback in the PR, that the author (or someone else) should also work on integrating the images change to osbuild-composer, since it won't be "for free".

@thozza thozza force-pushed the run-composer-tests branch 4 times, most recently from b218955 to c73a2ee Compare February 1, 2024 16:25
It would be useful to explicitly test if the code change proposed in
the PR integrates cleanly to osbuild-composer or if it will require
additional work there. The cheapest way to test it is to try to
replace the osbuild/images ref in the osbuild-composer@main and run
Golang lint and unit tests.

These test cases should not be blocking. The intention is to provide
feedback in the PR, that the author (or someone else) should also work
on integrating the images change to osbuild-composer, since it won't be
"for free".

Signed-off-by: Tomáš Hozza <thozza@redhat.com>
@thozza thozza changed the title CI: test integrating the images code to osbuild-composer as part of PRs CI: test integration to osbuild-composer as part of PRs Feb 1, 2024
@thozza
Copy link
Member Author

thozza commented Feb 1, 2024

Copy link
Contributor

@bcl bcl left a comment

Choose a reason for hiding this comment

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

Nice! It would also be nice if you could run it against an osbuild-composer PR with the needed changes, but I'm not sure how you'd do that in a nice way.

@thozza
Copy link
Member Author

thozza commented Feb 5, 2024

Nice! It would also be nice if you could run it against an osbuild-composer PR with the needed changes, but I'm not sure how you'd do that in a nice way.

I think that the most reasonable way would be to use a bot account, which could create such PR in composer if asked for it. I'll think about it, since we sometimes want to hold-off merging things in images until we have a corresponding changes in osbuild-composer.

Anyway, my intention with this PR was not to block any new code from landing in images, but to explicitly point out cases with the change will most probably generate more work when integrating it into osbuild-composer.

@thozza thozza added this pull request to the merge queue Feb 6, 2024
Merged via the queue into osbuild:main with commit 7ef2ffa Feb 6, 2024
12 checks passed
@achilleas-k
Copy link
Member

This is great. Thank you!!

@thozza thozza deleted the run-composer-tests branch February 6, 2024 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