containers / qm

QM is a containerized environment for running Functional Safety qm (Quality Management) software
https://github.com/containers/qm
GNU General Public License v2.0
20 stars 21 forks source link

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

Open dougsland opened 4 months ago

dougsland commented 4 months ago

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 commented 4 months ago

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

sandrobonazzola commented 2 months ago

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 commented 2 months ago

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.