From c1e1483d0860ead2bcafefe49a060fbad37e67aa Mon Sep 17 00:00:00 2001 From: Gary Wu Date: Wed, 31 Oct 2018 10:15:13 -0700 Subject: Bug fix in redeploy.sh Change-Id: I261e2629e5ab7d71752c41d8ce8175e8919c549e Issue-ID: INT-586 Signed-off-by: Gary Wu --- deployment/heat/onap-oom/scripts/redeploy.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'deployment/heat/onap-oom') 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 -- cgit 1.2.3-korg