X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=rec.git;a=blobdiff_plain;f=workflows%2Fnanobot.sh;fp=workflows%2Fnanobot.sh;h=cd545071eeea0d6ce9fa3517f0d0ae1373bda868;hp=ba13b4bfd39bc8b195c27e43ead60871f8f9ca11;hb=b9b9fff464110abf2659acef5a85576dbb905046;hpb=9bc4b7ed01d2035bf8fb07e72b2ad4bd140bb9da diff --git a/workflows/nanobot.sh b/workflows/nanobot.sh old mode 100755 new mode 100644 index ba13b4b..cd54507 --- a/workflows/nanobot.sh +++ b/workflows/nanobot.sh @@ -60,6 +60,7 @@ kubectl logs $nanobot_pod -n rictest #--------------kill helm--------------------------------------------------------------------- pkill helm #------------checking the status of the rictest pod-------------------------------------- +sleep 30 command="$(kubectl get po --no-headers --namespace=rictest --field-selector status.phase=Completed 2> /dev/null)" if [[ $command != "" ]]; then exit 1