aboutsummaryrefslogtreecommitdiffstats
path: root/deployment/heat/onap-oom/scripts/redeploy.sh
diff options
context:
space:
mode:
authorGary Wu <gary.i.wu@huawei.com>2018-10-31 10:15:13 -0700
committerGary Wu <gary.i.wu@huawei.com>2018-10-31 10:15:13 -0700
commitc1e1483d0860ead2bcafefe49a060fbad37e67aa (patch)
tree70c71587e06aa35463a7b6a71f571667ba814f5d /deployment/heat/onap-oom/scripts/redeploy.sh
parentfdca7ecca04181488b86f3f3ff31dbbb984d2c59 (diff)
Bug fix in redeploy.sh
Change-Id: I261e2629e5ab7d71752c41d8ce8175e8919c549e Issue-ID: INT-586 Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
Diffstat (limited to 'deployment/heat/onap-oom/scripts/redeploy.sh')
-rwxr-xr-xdeployment/heat/onap-oom/scripts/redeploy.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/deployment/heat/onap-oom/scripts/redeploy.sh b/deployment/heat/onap-oom/scripts/redeploy.sh
index 2ec3e1756..1d46f025d 100755
--- a/deployment/heat/onap-oom/scripts/redeploy.sh
+++ b/deployment/heat/onap-oom/scripts/redeploy.sh
@@ -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