'centos-10' is being used by out test scripts, while 'centos-stream-10'
is being used by the 'mockbuild.sh' script and the custom GitLab
executor.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
Don't upgrade centos-9-stream repos in the Schutzfile, the newer ones
are broken. Considering CI is broken on main right now, that takes
priority, fixing centos-9 can be done in a followup.
This is needed to get the support for "After" key in the
`org.osbuild.systemd.unit.create` stage, which is used by the new
version of `osbuild/images`.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
In addition, simplify the SPEC file to not have to update the minimum
required osbuild version gazillion times, but just once.
Update the minimum required osbuild version to v109, due to changes in
grub2 stages required by the new osbuild/images version.
Update osbild SHA in Schutzfile to v109.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
Update the osbuild/images to the version which introduces "dot notation"
for distro release versions.
- Replace all uses of distroregistry by distrofactory.
- Delete local version of reporegistry and use the one from the
osbuild/images.
- Weldr: unify `createWeldrAPI()` and `createWeldrAPI2()` into a single
`createTestWeldrAPI()` function`.
- store/fixture: rework fixtures to allow overriding the host distro
name and host architecture name. A cleanup function to restore the
host distro and arch names is always part of the fixture struct.
- Delete `distro_mock` package, since it is no longer used.
- Bump the required version of osbuild to 98, because the OSCAP
customization is using the 'compress_results' stage option, which is
not available in older versions of osbuild.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
This should solve the CI failures on el8.10 due to fix the missing
`/etc/X11/xorg.conf.d/00-keyboard.conf` file when building images and
setting keyboard layout.
The osbuild v102 is currently blocked in RHEL CI, so workaround this
issue for now at least on `main` in the upstream.
Signed-off-by: Tomáš Hozza <thozza@redhat.com>
Update the `osbuild` commit to a version that
includes `org.osbuild.update-crypto-policies` stage
required for the tests.
Signed-off-by: Miguel Martín <mmartinv@redhat.com>