CI: Invoke mock with --isolation=simple to workaround problems with systemd-nspawn

See https://pagure.io/fedora-ci/general/issue/217

Related: rhbz#2117571
This commit is contained in:
Miro Hrončok 2022-08-17 01:46:00 +02:00
parent a438f38c28
commit 8c8a3ad80b

View File

@ -59,8 +59,8 @@ rpmbuild -bs ${pkgname}.spec
# build the SRPM in mock
res=0
mock -r $config --enablerepo="$repos" init
mock -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$?
mock --isolation=simple -r $config --enablerepo="$repos" init
mock --isolation=simple -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$?
# move the results to the artifacts directory, so we can examine them
artifacts=${TEST_ARTIFACTS:-/tmp/artifacts}