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

tests: CI/CD pipeline (tmt) - generate QCOW2 image as soon ALL tests PASSED in the pipeline #407

Open
dougsland opened this issue Apr 29, 2024 · 3 comments
Labels
enhancement New feature or request testing
Milestone

Comments

@dougsland
Copy link
Collaborator

dougsland commented Apr 29, 2024

Let met start saying I am not sure if we have the resources to accomplish that via github or gitlab but let me add the scenario and requirements.

Imagine the scenario of new patch arriving to the project, CI/CD pipeline is triggered and it PASSED in all tests, the next step (which is about this issue) is generate a QCOW2 image with the new patch INCLUDED in the QM RPM available for download so developers and quality engineers can easily download and test it.

Example:

Imagine a new SELinux policy patch arriving for QM, would be very nice to have such patch included. 
into qm project and generated a QCOW2 image so all developers/testers can easily test if the patch. 
really fix what it should be fixed.

Finally, I am sure, this is not something exclusive for QM project, probably all components for centOS auto, like BlueChi could take adv. of such strategy and integration.

See-Also:
How to build QM RPM / CentOS Auto:
https://github.com/containers/qm/tree/main/docs/devel#building-qm-rpm-manually-with-changes

@dougsland dougsland added enhancement New feature or request testing labels Apr 29, 2024
@dougsland
Copy link
Collaborator Author

dougsland commented Apr 29, 2024

Adding some folks in CC from automation, QE, Fedora/CentOS maintainers that might have some ideas about resources too.

cc @pbrilla-rh @juanje @Yarboa @pypingou @mwperina @sandrobonazzola

@dougsland dougsland changed the title tests: CI/CD pipeline - generate QCOW2 image as soon ALL tests PASSED in the pipeline tests: CI/CD pipeline (tmt) - generate QCOW2 image as soon ALL tests PASSED in the pipeline Apr 29, 2024
@dougsland dougsland added this to the v0.6.4 milestone May 1, 2024
@sandrobonazzola
Copy link
Collaborator

I would close this as won't do. I think that the resource consumption for doing this rather than dnf update <url to qm rpm build including the patch> after a patch is merged on an existing nightly qcow image is not worth it IMHO.

@sandrobonazzola
Copy link
Collaborator

Also, if you really need to have the image patched before running the VM you can possibly still do that with guestfish by running the dnf update on the image.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request testing
Projects
None yet
Development

No branches or pull requests

2 participants