Bug fix in redeploy.sh 69/71569/1
authorGary Wu <gary.i.wu@huawei.com>
Wed, 31 Oct 2018 17:15:13 +0000 (10:15 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Wed, 31 Oct 2018 17:15:13 +0000 (10:15 -0700)
Change-Id: I261e2629e5ab7d71752c41d8ce8175e8919c549e
Issue-ID: INT-586
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
deployment/heat/onap-oom/scripts/redeploy.sh

index 2ec3e17..1d46f02 100755 (executable)
@@ -35,7 +35,7 @@ OOM_GERRIT_BRANCH=master
 OOM_GERRIT_REFSPEC=refs/heads/master
 INTEGRATION_GERRIT_BRANCH=master
 INTEGRATION_GERRIT_REFSPEC=refs/heads/master
-
+DOCKER_MANIFEST=""
 
 # Verify that k8s works
 if [ $(kubectl get pods --namespace kube-system | tail -n +2 | grep -c Running) -lt 6 ]; then
@@ -76,9 +76,9 @@ git checkout FETCH_HEAD
 git checkout -b workarounds
 git log -1
 
-if [ ! -z "__docker_manifest__" ]; then
+if [ ! -z "$DOCKER_MANIFEST" ]; then
     cd version-manifest/src/main/scripts
-    ./update-oom-image-versions.sh ../resources/__docker_manifest__ ~/oom/
+    ./update-oom-image-versions.sh ../resources/$DOCKER_MANIFEST ~/oom/
 fi
 
 cd ~/oom