From aadf5dfc9af42eefd3c3c41f9c46312502302276 Mon Sep 17 00:00:00 2001 From: Sanne Raymaekers Date: Tue, 7 May 2024 15:15:43 +0200 Subject: [PATCH] tools/fedora-worker-packer: increase timeouts further The first timeout increase didn't take effect. And once the suite is present the rpm builds can stay pending for a very long time. --- tools/appsre-build-fedora-worker-packer.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/appsre-build-fedora-worker-packer.sh b/tools/appsre-build-fedora-worker-packer.sh index c34f539e5..981239d9a 100755 --- a/tools/appsre-build-fedora-worker-packer.sh +++ b/tools/appsre-build-fedora-worker-packer.sh @@ -14,7 +14,7 @@ COMMIT_SHA="${COMMIT_SHA:-$(git rev-parse HEAD)}" # wait up to 30 minutes for the packit-as-a-service app (app id being 29076) for RETRY in {1..31}; do - if [ "$RETRY" = 11 ]; then + if [ "$RETRY" = 31 ]; then echo Waiting for the packit-as-a-service suite failed after 10 minutes exit 1 fi @@ -37,9 +37,9 @@ if [ "$CHECK_RUNS_URL" = null ]; then exit 1 fi -# wait up to 30 minutes for the rpms to be built -for RETRY in {1..31}; do - if [ "$RETRY" = 31 ]; then +# wait up to 2 hours for the rpms to be built +for RETRY in {1..121}; do + if [ "$RETRY" = 121 ]; then echo Waiting for the packit-as-a-service results failed after 30 minutes exit 1 fi