test: add minimal test for container based building of images

This commit adds a smoke test that builds the ibcli container
and runs a fedora-41 raw-minimal build to double check that
the container based building actually works.

Thanks to Ondrej for suggesting this.
This commit is contained in:
Michael Vogt 2024-12-18 09:41:31 +01:00
parent fad02336b3
commit e7d8a39fcf
6 changed files with 62 additions and 10 deletions

View file

@ -9,11 +9,9 @@ mkdir /run/osbuild
mkdir /run/osbuild-store
mount -t tmpfs tmpfs /run/osbuild
mount -t tmpfs tmpfs /run/osbuild-store
cp -p /usr/bin/osbuild /run/osbuild/osbuild
chcon system_u:object_r:root_t:s0 /run/osbuild-store
chcon system_u:object_r:install_exec_t:s0 /run/osbuild/osbuild
mount -t devtmpfs devtmpfs /dev