From 636b397b71bf1da63f635c6aea28392857b3f74f Mon Sep 17 00:00:00 2001 From: kurczews Date: Tue, 16 Apr 2019 12:03:41 +0200 Subject: PRH fail-fast setup Issue-ID: INT-1027 Change-Id: I5bc92b1dc886dc0fbdfe06048b2f87aaf8b1d1c2 Signed-off-by: kurczews --- plans/dcaegen2/prh-testsuites/setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/plans/dcaegen2/prh-testsuites/setup.sh b/plans/dcaegen2/prh-testsuites/setup.sh index 31e2d981..46871fd8 100644 --- a/plans/dcaegen2/prh-testsuites/setup.sh +++ b/plans/dcaegen2/prh-testsuites/setup.sh @@ -15,8 +15,10 @@ cd ${WORKSPACE}/tests/dcaegen2/prh-testcases/resources/ pip uninstall -y docker-py pip uninstall -y docker pip install -U docker -docker login -u docker -p docker https://nexus3.onap.org:10001 +set -e + +docker login -u docker -p docker https://nexus3.onap.org:10001 docker-compose up -d --build # Extract docker images IPs @@ -49,4 +51,4 @@ wait_for_service_init localhost:8100/heartbeat wait_for_service_init localhost:8200/heartbeat # #Pass any variables required by Robot test suites in ROBOT_VARIABLES -ROBOT_VARIABLES="-v DMAAP_SIMULATOR_SETUP:${DMAAP_SIMULATOR_IP}:2224 -v AAI_SIMULATOR_SETUP:${AAI_SIMULATOR_IP}:3335 -v CONSUL_SETUP:${CONSUL_IP}:8500" +ROBOT_VARIABLES="-v DMAAP_SIMULATOR_SETUP:${DMAAP_SIMULATOR_IP}:2224 -v AAI_SIMULATOR_SETUP:${AAI_SIMULATOR_IP}:3335 -v CONSUL_SETUP:${CONSUL_IP}:8500" \ No newline at end of file -- cgit 1.2.3-korg