-
Notifications
You must be signed in to change notification settings - Fork 29
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
Add test to run basic qm image build with a-i-b #697
Conversation
looks sane to me @Yarboa PTAL |
@mkemel
One more thing here, What the tests should really test? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please refer this
#697 (comment)
Hi @Yarboa
One question from my side is - the requirement is for CI only. So maybe it would be better to create a separate plan for that? |
@alexlarsson care to take a look? |
As per this https://github.com/osbuild/osbuild?tab=readme-ov-file#requirements
And please add better description
The issue here is not the plan it is packit, |
Currently the test is run by packit as part of this job:
And the only hardware requirement is |
I do not think it is related, Isnt it? |
Yes. I wasn't sure if I should just add this one to sanity tests (this is a sanity test after all), and run it in an environment with QM (which does not affect this test), or create a separate plan and run it as a separate job. I chose the former in avoid creating separate plan and job for one test. But if you think that it would be better to have a separate job for this one - I can add one, it's not a problem. |
Ack, ask for different machine with specific plan+test running, there is no prepare step here, |
better to maintain it separately in case it is broken, gate run also on bare c9s/fedora, it should not block merge of non related PRs |
Worth add for reference this comment and discussion: #674 (comment) I guess this is the root cause for this PR. |
If @michalskrivanek @Yarboa are satisfied we can proceed. I trust in their review. |
I thougt there is agreement on that BTW, it could be moved to qm-next also |
well, I'm NOT happy with copying the logic from auto-image-builder.sh. It even changed in the meantime... |
592972e
to
3955841
Compare
|
/packit retest-failed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@mkemel please check precommit errors |
Introducing a new sanity test, that builds a basic qm image with automotive-image-builder. Signed-off-by: Mark Kemel <[email protected]>
@Yarboa It took me some time to make this work, the whole quotes thing in this script is quite complicated since we want to pass a mix of single and double quotes to a shell script which passes it to podman which passes it to container. Suppressed the warnings, shellcheck does not really recognize what I'm doing there. |
Did you try this one? And that one? this one was passing for me |
This would work, but I like it less tbh, I think using single quote is much better than escaping every double quote, it makes reading much more difficult to my taste
This wouldn't work because we need single quotes there |
Introducing a new sanity test, that builds a basic qm image with automotive-image-builder.
Resolves: #675