From: Richard W.M. Jones Date: Sat, 4 Apr 2020 09:10:54 +0000 (+0100) Subject: fedora: Increase timeout for koji wait-repo commands. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=cda1f0160b96e57a0037085f33aa2d440453a30b;p=goals.git fedora: Increase timeout for koji wait-repo commands. And if it fails because of a transient problem, retry. Thanks: Miro HronĨok --- diff --git a/stdlib/fedora.gl b/stdlib/fedora.gl index 2bcaec1..8bcc09a 100644 --- a/stdlib/fedora.gl +++ b/stdlib/fedora.gl @@ -103,7 +103,7 @@ is-koji-built ("%pkg") : # 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.