Modified the path 57/1957/2
authorAbhijit Dasgupta <abhijit.das.gupta@huawei.com>
Tue, 12 Nov 2019 08:52:02 +0000 (08:52 +0000)
committerAbhijit Dasgupta <abhijit.das.gupta@huawei.com>
Tue, 12 Nov 2019 09:40:29 +0000 (09:40 +0000)
Modified the execution path back to edgex folder
As verifyedgex.sh was not getting triggered from
setup.sh script.

Taking the backup of edgex folder and then switching
back to that folder after yaml files are deployed

Signed-off-by: Abhijit Dasgupta <abhijit.das.gupta@huawei.com>
Change-Id: I7cdf82f3a8ab6f010657e5382dfa26f60632bec6

blueprints/iotgateway/scripts/edgex/edgexonk8s.sh

index f7171e1..22dd90c 100755 (executable)
 
 
 echo "Deploying Edgex Platform on IOT-Gateway Edge Node"
+edgexPath=`pwd`
 git clone https://github.com/edgexfoundry-holding/edgex-kubernetes-support.git
 cd edgex-kubernetes-support/releases/edinburgh/kubernetes
 ls
 kubectl create -k .
+cd ${edgexPath}
 echo "-----------------------------------------------------------"
 echo "Edgex platform PODs"
 kubectl get pod