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 5f5038f73e
commit 31f99e7ad0
1 changed files with 2 additions and 2 deletions

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}