diff options
author | Conor Ward <conor.ward@ericsson.com> | 2018-10-19 14:21:17 +0100 |
---|---|---|
committer | Conor Ward <conor.ward@ericsson.com> | 2018-10-19 14:32:11 +0100 |
commit | 18eb8c45334ba60278a8f08f579d3b87cb57b845 (patch) | |
tree | d547c3e9c360d5336a1a4a5c81fef8d3c78d1414 /plans/dmaap-datarouter/dr-suite/setup.sh | |
parent | 3daec4157eb6804b81c9fac639ead8632ff3c16b (diff) |
Change location of docker-compose
Change-Id: If59e8a032c3ae60fb5601fe113d30378b13d3721
Signed-off-by: Conor Ward <conor.ward@ericsson.com>
Issue-ID: DMAAP-847
Diffstat (limited to 'plans/dmaap-datarouter/dr-suite/setup.sh')
-rwxr-xr-x | plans/dmaap-datarouter/dr-suite/setup.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plans/dmaap-datarouter/dr-suite/setup.sh b/plans/dmaap-datarouter/dr-suite/setup.sh index 023e2658..dedf15b0 100755 --- a/plans/dmaap-datarouter/dr-suite/setup.sh +++ b/plans/dmaap-datarouter/dr-suite/setup.sh @@ -9,7 +9,7 @@ cd $WORKSPACE/archives/dmaapdr git clone --depth 1 https://gerrit.onap.org/r/dmaap/datarouter -b master cd datarouter git pull -cd $WORKSPACE/archives/dmaapdr/datarouter/docker-compose/ +cd $WORKSPACE/archives/dmaapdr/datarouter/datarouter-docker-compose/src/main/resources sed -i 's/10003/10001/g' docker-compose.yml # start DMaaP DR containers with docker compose and configuration from docker-compose.yml @@ -17,7 +17,7 @@ docker login -u docker -p docker nexus3.onap.org:10001 docker-compose up -d # Wait for initialization of Docker container for datarouter-node, datarouter-prov and mariadb -for i in {1..50}; do +for i in {1..10}; do if [ $(docker inspect --format '{{ .State.Running }}' datarouter-node) ] && \ [ $(docker inspect --format '{{ .State.Running }}' datarouter-prov) ] && \ [ $(docker inspect --format '{{ .State.Running }}' mariadb) ] |