diff options
author | kurczews <krzysztof.kurczewski@nokia.com> | 2019-04-16 12:03:41 +0200 |
---|---|---|
committer | kurczews <krzysztof.kurczewski@nokia.com> | 2019-04-16 12:18:42 +0200 |
commit | 636b397b71bf1da63f635c6aea28392857b3f74f (patch) | |
tree | b002f680c808b4ce5f334f28ba8ad6cf274f145c /plans/dcaegen2 | |
parent | 97d0f93f9f5e172aa54aa1911b157f4f589380aa (diff) |
PRH fail-fast setup
Issue-ID: INT-1027
Change-Id: I5bc92b1dc886dc0fbdfe06048b2f87aaf8b1d1c2
Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
Diffstat (limited to 'plans/dcaegen2')
-rw-r--r-- | plans/dcaegen2/prh-testsuites/setup.sh | 6 |
1 files 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 |