And if it fails because of a transient problem, retry.
Thanks: Miro HronĨok
# before we can start the new build.
for p in %<; do
nvr=$(koji --quiet latest-build %fedora-tag $p | awk '{print $1}')
# before we can start the new build.
for p in %<; do
nvr=$(koji --quiet latest-build %fedora-tag $p | awk '{print $1}')
- koji wait-repo %fedora-tag --build=$nvr
+ while ! koji wait-repo --timeout=10000 %fedora-tag --build=$nvr; do sleep 1m; done
done
# Make sure the local directory is up to date.
done
# Make sure the local directory is up to date.