CI: Run mock in verbose mode to see the logs

This commit is contained in:
Miro Hrončok 2023-08-21 22:40:58 +02:00
parent 53c81f57c1
commit bd1022e422

View File

@ -59,8 +59,8 @@ rpmbuild -bs --define '_sourcedir .' ${pkgname}.spec
# build the SRPM in mock
res=0
mock --isolation=simple -r $config --enablerepo="$repos" init
mock --isolation=simple -r $config --enablerepo="$repos" "$@" ~/rpmbuild/SRPMS/${pkgname}-*.src.rpm || res=$?
mock --verbose --isolation=simple -r $config --enablerepo="$repos" init
mock --verbose --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}