Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tools/fedora-worker-packer: increase timeout further #4134

Merged
merged 2 commits into from
May 7, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tools/appsre-build-fedora-worker-packer.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
# AppSRE runs this script to build an ami and share it with an account
set -exv
set -ev

export SKIP_CREATE_AMI=false
# Use prebuilt rpms for the fedora images
Expand All @@ -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
Loading