qm icon indicating copy to clipboard operation
qm copied to clipboard

tests: CI/CD pipeline (tmt) - add ostree integration into the CI/CD pipeline

Open dougsland opened this issue 1 year ago • 3 comments
trafficstars

make sure our github actions / tmt / pipelines are covering ostree integration when a new patch arrives for the review.

For example:

git clone https://gitlab.com/CentOS/automotive/sample-images
<APPLY THE NEW PATCH>
cd sample-images/osbuild-manifests
make cs9-qemu-qm-minimal-ostree.x86_64.qcow2

SEE IF IT BREAKS OR NOT AND REPORT.

Based on that the QM maintainers can decide to merge or not the patch.

dougsland avatar Apr 24 '24 20:04 dougsland

@Yarboa

dougsland avatar Apr 24 '24 20:04 dougsland

@dougsland This task is not easy, as for building the image we need virtualization and I don't know if GitHub can provide that.

Well, virtualization or a privileged container with some extra security options. See here an example: https://gitlab.com/CentOS/automotive/sample-images/-/blob/main/auto-image-builder.sh?ref_type=heads#L42

If it can be done with GitHub action, great, if not we could try Testing Farm, as we do in Automotive from GitLab.

juanje avatar Apr 25 '24 14:04 juanje

@dougsland This task is not easy, as for building the image we need virtualization and I don't know if GitHub can provide that.

Well, virtualization or a privileged container with some extra security options. See here an example: https://gitlab.com/CentOS/automotive/sample-images/-/blob/main/auto-image-builder.sh?ref_type=heads#L42

If it can be done with GitHub action, great, if not we could try Testing Farm, as we do in Automotive from GitLab.

@juanje Perfect, thanks so much for your collaboration, we can use any technology :)

dougsland avatar Apr 29 '24 14:04 dougsland