update pkill helm to each script 97/897/1
authorkinkwan_tsui <kinkwan.tsui@nokia.com>
Wed, 29 May 2019 21:25:14 +0000 (00:25 +0300)
committerkinkwan_tsui <kinkwan.tsui@nokia.com>
Wed, 29 May 2019 21:25:31 +0000 (00:25 +0300)
Change-Id: Ide879491f1790451f80280aa42871ba9f300f6c2
Signed-off-by: kinkwan_tsui <kinkwan.tsui@nokia.com>
workflows/nanobot.sh
workflows/ric_automation.sh
workflows/robot_test_ric.sh

index dc02070..ba13b4b 100755 (executable)
@@ -57,9 +57,12 @@ helm install localric/nanobot --namespace rictest --name nanobot
 nanobot_pod=$(kubectl get pods -n rictest -o go-template --template '{{range .items}}{{.metadata.name}}{{"\n"}}{{end}}')
 sleep 10
 kubectl logs $nanobot_pod -n rictest
-
+#--------------kill helm---------------------------------------------------------------------
+pkill helm
 #------------checking the status of the rictest pod--------------------------------------
 command="$(kubectl get po --no-headers --namespace=rictest --field-selector status.phase=Completed 2> /dev/null)"
 if [[ $command != "" ]]; then
   exit 1
 fi
+
+
index fbb39f9..46768e6 100755 (executable)
@@ -125,8 +125,12 @@ 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-------------------------------------------------------------
 command="$(kubectl get po --no-headers --namespace=ricplatform --field-selector status.phase!=Running 2> /dev/null)"
 if [[ $command != "" ]]; then
   exit 1
 fi
+
+
index d16e8a3..fff75eb 100755 (executable)
@@ -55,8 +55,11 @@ kubectl exec -n ricplatform -it $ric_robot_pod -- sed -i '17,19 s/^/#/' /var/opt
 #---------show the test cases------------------------------
 cd /home/cloudadmin/RIC/test/ric_robot_suite/helm/ric-robot/
 bash ete-k8s.sh ricplatform health
+#--------------kill helm---------------------------------------------------------------------
+pkill helm
 #----------checking the status of the pods------------------
 command="$(kubectl get po --no-headers --namespace=ricplatform --field-selector status.phase!=Running 2> /dev/null)"
 if [[ $command != "" ]]; then
   exit 1
 fi
+