X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=workflows%2Fric_automation.sh;h=795436f101153408b4f871be2ef947ae3af5930c;hb=refs%2Fchanges%2F01%2F901%2F1;hp=fbb39f961f6102cc69331a6752e5930cce69a0ab;hpb=bf43e353b3a57356c6ae0186e6af148897fa73a4;p=rec.git diff --git a/workflows/ric_automation.sh b/workflows/ric_automation.sh old mode 100755 new mode 100644 index fbb39f9..795436f --- a/workflows/ric_automation.sh +++ b/workflows/ric_automation.sh @@ -125,8 +125,20 @@ sed -i 's,http://127.0.0.1:8879,http://127.0.0.1:8879/charts,g' "ric_install.sh" sed -i 's,local,localric,g' "ric_install.sh" bash -x ./ric_install.sh +#--------------kill helm--------------------------------------------------------------------- +pkill helm #-------------checking the output------------------------------------------------------------- +for i in `seq 1 10` +do command="$(kubectl get po --no-headers --namespace=ricplatform --field-selector status.phase!=Running 2> /dev/null)" if [[ $command != "" ]]; then - exit 1 + sleep 30 +else + exit 0 fi +done +exit 1 + + + +