Skip to content

Commit

Permalink
Merge pull request #616 from mbaldessari/wait-more
Browse files Browse the repository at this point in the history
Wait some more before giving up
  • Loading branch information
mbaldessari authored Jan 14, 2025
2 parents 6be5db5 + 250c154 commit b630203
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/deploy-pattern.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/bash
set -o pipefail

RUNS=5
RUNS=10
WAIT=15
# Retry five times because the CRD might not be fully installed yet
echo -n "Installing pattern: "
for i in $(seq 1 ${RUNS}); do \
Expand All @@ -13,7 +14,7 @@ for i in $(seq 1 ${RUNS}); do \
break;
else
echo -n "."
sleep 10
sleep "${WAIT}"
fi
done

Expand Down

0 comments on commit b630203

Please sign in to comment.