Skip to content

Commit

Permalink
tools/fedora-worker-packer: increase timeouts further
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
croissanne committed May 7, 2024
1 parent c9ce5af commit aadf5df
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tools/appsre-build-fedora-worker-packer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit aadf5df

Please sign in to comment.