From ce6a67f4939900bbedaef5eeb986768fb4eec8ad Mon Sep 17 00:00:00 2001 From: Sai Gandham Date: Tue, 10 Apr 2018 14:25:35 +0000 Subject: [PATCH] Fixing docker build scipt Issue-ID: AAF-208 Change-Id: Ia1ca9a6c4ef4282be597820a20ed5c34590393c7 Signed-off-by: Sai Gandham --- auth/docker/dbuild.sh | 4 ++++ auth/docker/dclean.sh | 6 +++++- auth/docker/drun.sh | 7 ++++++- auth/docker/dstart.sh | 6 +++++- auth/docker/dstop.sh | 6 +++++- 5 files changed, 25 insertions(+), 4 deletions(-) diff --git a/auth/docker/dbuild.sh b/auth/docker/dbuild.sh index 501530db..ace2e507 100644 --- a/auth/docker/dbuild.sh +++ b/auth/docker/dbuild.sh @@ -3,6 +3,10 @@ # Docker Building Script. Reads all the components generated by install, on per-version basis # # Pull in Variables from d.props +ORG=onap +PROJECT=aaf +DOCKER_REPOSITORY=nexus3.onap.org:10003 +VERSION=2.1.0-SNAPSHOT ./d.props # TODO add ability to do DEBUG settings diff --git a/auth/docker/dclean.sh b/auth/docker/dclean.sh index b14f0bcc..4c2dd3bf 100644 --- a/auth/docker/dclean.sh +++ b/auth/docker/dclean.sh @@ -1,5 +1,9 @@ #!/bin/bash dclean.sh -. d.props +ORG=onap +PROJECT=aaf +DOCKER_REPOSITORY=nexus3.onap.org:10003 +VERSION=2.1.0-SNAPSHOT +./d.props if [ "$1" == "" ]; then AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'` diff --git a/auth/docker/drun.sh b/auth/docker/drun.sh index 80414ea4..33f3014d 100644 --- a/auth/docker/drun.sh +++ b/auth/docker/drun.sh @@ -1,5 +1,10 @@ #!/bin/bash drun.sh -. d.props +ORG=onap +PROJECT=aaf +DOCKER_REPOSITORY=nexus3.onap.org:10003 +VERSION=2.1.0-SNAPSHOT +./d.props + if [ "$1" == "" ]; then AAF_COMPONENTS=`ls -r ../aaf_${VERSION}/bin | grep -v '\.'` diff --git a/auth/docker/dstart.sh b/auth/docker/dstart.sh index 9fcc328b..ac8ffd06 100644 --- a/auth/docker/dstart.sh +++ b/auth/docker/dstart.sh @@ -1,5 +1,9 @@ #!/bin/bash dstop.sh -. d.props +ORG=onap +PROJECT=aaf +DOCKER_REPOSITORY=nexus3.onap.org:10003 +VERSION=2.1.0-SNAPSHOT +./d.props if [ "$1" == "" ]; then AAF_COMPONENTS=`ls -r ../aaf_${VERSION}/bin | grep -v '\.'` diff --git a/auth/docker/dstop.sh b/auth/docker/dstop.sh index 78088423..c325c6a1 100644 --- a/auth/docker/dstop.sh +++ b/auth/docker/dstop.sh @@ -1,5 +1,9 @@ #!/bin/bash dstop.sh -. d.props +ORG=onap +PROJECT=aaf +DOCKER_REPOSITORY=nexus3.onap.org:10003 +VERSION=2.1.0-SNAPSHOT +./d.props if [ "$1" == "" ]; then AAF_COMPONENTS=`ls ../aaf_${VERSION}/bin | grep -v '\.'` -- 2.16.6