Skip to content

Commit

Permalink
Change the delay to 5 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
mbaldessari committed Aug 26, 2024
1 parent f25f06b commit 164e7da
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/start_pipelines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ build_ns=quarkuscoffeeshop-cicd
pipelines=('build-and-push-quarkuscoffeeshop-barista' 'build-and-push-quarkuscoffeeshop-counter' 'build-and-push-quarkuscoffeeshop-customerloyalty' 'build-and-push-quarkuscoffeeshop-customermocker' 'build-and-push-quarkuscoffeeshop-inventory' 'build-and-push-quarkuscoffeeshop-kitchen' 'build-and-push-quarkuscoffeeshop-web')

echo "Checking for resources to be available to start pipelines"
DELAY=5
retry=0
check=1
while [ "$check" == "1" ]; do
sleep 2;
sleep ${DELAY}

for p in ${pipelines[@]}; do
oc get -n $build_ns pipeline $p 1>/dev/null 2>/dev/null
Expand Down

0 comments on commit 164e7da

Please sign in to comment.