rpm-ostree icon indicating copy to clipboard operation
rpm-ostree copied to clipboard

Add packit test to build c9s or AutoSD image

Open Yarboa opened this issue 11 months ago • 3 comments

Describe the bug

ostree CI should have at least 1 packit rpm build and 1 verification test to build qcow2 image

Based on that Ticket https://github.com/coreos/rpm-ostree/issues/4879

the following request was raised https://github.com/coreos/rpm-ostree/issues/4879#issuecomment-2007879043

Add packit.yaml for rpm build on specific distros Use osbuild-mpp to create some image , verify that build of image with new packit ostree rpm installed and qcow image is pass with success.

Reproduction steps

see above

Expected behavior

see above

Actual behavior

see above

System details

see above

Additional information

No response @ericcurtin If you have additional info or edit, please add

Yarboa avatar Apr 02 '24 12:04 Yarboa

This sounds good.

Preferably it's the aboot minimal aarch64 rpm-ostree qcow2 we test build. It's the one with the most uniqueness to other rpm-ostree OSes.

ericcurtin avatar Apr 02 '24 14:04 ericcurtin

If nobody going to take it, I can take it as I recently looked into the build scripts for rpms. My guess probably the work would be similar to the initoverlayfs, copy .packit here and adjust it. @Yarboa make sense?

dougsland avatar Apr 02 '24 19:04 dougsland

By the way we need to run an osbuild to do this... It's gonna be different to the existing initoverlayfs build...

You need to have the newly built rpm-ostree rpm as part of the AutoSD image building process to test this...

In production we don't use many rpm-ostree features at all during runtime, it's mainly called during osbuild, so we have to do this with the new rpm-ostree rpm essentially:

https://sigs.centos.org/automotive/building/

ericcurtin avatar Apr 03 '24 11:04 ericcurtin