Skip to content

Commit

Permalink
INITIAL_WAIT_TIME
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiss, Tibor committed Dec 13, 2023
1 parent ab91799 commit 9069d09
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/verify-status.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ echo "Checking status of POST Jobs for Eventing-Manager"

REF_NAME="${1:-"main"}"
TIMEOUT_TIME="${2:-600}"
INTERVAL_TIME="${3:-3}"
INTERVAL_TIME="${3:-10}"
INITIAL_WAIT_TIME="${4:-30}"

# Generate job Status URL
STATUS_URL="https://api.github.com/repos/kyma-project/eventing-manager/commits/${REF_NAME}/status"
Expand Down Expand Up @@ -66,7 +67,7 @@ function retry {
}

# Initial wait
sleep 30
sleep $INITIAL_WAIT_TIME
# Call retry function
retry
while [ "$fullstatus" == "pending" ]; do
Expand Down

0 comments on commit 9069d09

Please sign in to comment.