first app waits after trigger

This commit is contained in:
Heavybullets8 2022-08-10 20:40:33 -06:00
parent 36002c59fb
commit 0ff74e42a7

View File

@ -147,7 +147,7 @@ do
update_avail=$(grep "^$app_name," temp.txt | awk -F ',' '{print $3}')
if [[ $update_avail == "true" ]]; then
if ! cli -c 'app chart_release upgrade release_name=''"'"$app_name"'"' &> /dev/null ; then
[[ ! -e trigger ]] && touch trigger
[[ ! -e trigger ]] && touch trigger && sleep 10
sleep 6
((count++))
continue
@ -167,7 +167,7 @@ after_update_actions(){
SECONDS=0
count=0
if [[ $rollback == "true" || "$startstatus" == "STOPPED" ]]; then
[[ ! -e trigger ]] && touch trigger
[[ ! -e trigger ]] && touch trigger && sleep 10
while true
do
(( count++ ))