aboutsummaryrefslogtreecommitdiffstats
path: root/plans/usecases/5G-bulkpm/setup.sh
diff options
context:
space:
mode:
authorLiamBurke <Liam.Burke@ericsson.com>2018-10-19 15:22:16 +0000
committerLiamBurke <liam.burke@ericsson.com>2018-10-19 15:22:16 +0000
commit1344ef2dd571923b5fa40f7c0863477df59d651b (patch)
tree8f5ec8e32f886384edc53c09ed13eeefeae8d945 /plans/usecases/5G-bulkpm/setup.sh
parent23bfc64539a212ad81ae62a1b5528799c6262771 (diff)
Changes to docker fils due to Gerrit 70812
Change-Id: I4a3d722485fd0d47fae3e86f7b947d0e8b40e07e Issue-ID: INT-649 Signed-off-by: LiamBurke <liam.burke@ericsson.com>
Diffstat (limited to 'plans/usecases/5G-bulkpm/setup.sh')
-rw-r--r--plans/usecases/5G-bulkpm/setup.sh11
1 files changed, 6 insertions, 5 deletions
diff --git a/plans/usecases/5G-bulkpm/setup.sh b/plans/usecases/5G-bulkpm/setup.sh
index e409b52c..5139cbab 100644
--- a/plans/usecases/5G-bulkpm/setup.sh
+++ b/plans/usecases/5G-bulkpm/setup.sh
@@ -54,10 +54,11 @@ sleep 5
mkdir -p $WORKSPACE/archives/dmaapdr
cd $WORKSPACE/archives/dmaapdr
git clone --depth 1 https://gerrit.onap.org/r/dmaap/datarouter -b master
-cd datarouter
-cd $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/
-rm -rf docker-compose.yml
-cp $WORKSPACE/plans/usecases/5G-bulkpm/composefile/docker-compose-e2e.yml $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/docker-compose.yml
+cd $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources
+mkdir docker-compose
+cd $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources/docker-compose
+cp $WORKSPACE/plans/usecases/5G-bulkpm/composefile/docker-compose-e2e.yml $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources/docker-compose/docker-compose.yml
+
docker login -u docker -p docker nexus3.onap.org:10001
docker-compose up -d
docker kill datarouter-prov
@@ -66,7 +67,7 @@ docker kill vescollector
HOST_IP=$(ip route get 8.8.8.8 | awk '/8.8.8.8/ {print $NF}')
sed -i -e '/DMAAPHOST:/ s/:.*/: '$HOST_IP'/' docker-compose.yml
MARIADB=$(docker inspect '--format={{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' mariadb )
-sed -i 's/datarouter-mariadb/'$MARIADB'/g' $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/prov_data/provserver.properties
+sed -i 's/datarouter-mariadb/'$MARIADB'/g' $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources/prov_data/provserver.properties
docker-compose up -d
# Wait for initialization of Docker container for datarouter-node, datarouter-prov and mariadb