summaryrefslogtreecommitdiffstats
path: root/test/csit
diff options
context:
space:
mode:
authorEric Debeau <eric.debeau@orange.com>2018-05-12 07:29:49 +0000
committerEric Debeau <eric.debeau@orange.com>2018-05-14 07:13:51 +0000
commit8484979d76bb60cd9963365c6c0ab0084194d692 (patch)
treee46eae0be95979b0ac68a1214f2815f87af341ee /test/csit
parent1d882c6c2569928fdaa3a445a3424f1fabce0c71 (diff)
Correct ExternalAPI-NBI CSIT
CSIT fails due to modification in docker-compose.yml Create .env file to solve the problem Move creation .env file in the workspace directory Change-Id: I43343316faafb8108a12874de814ee918ac62ae6 Issue-ID: EXTAPI-86 Signed-off-by: Eric Debeau <eric.debeau@orange.com>
Diffstat (limited to 'test/csit')
-rw-r--r--test/csit/scripts/externalapi-nbi/start_nbi_containers.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh b/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh
index 24de74099..61026d7b0 100644
--- a/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh
+++ b/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh
@@ -25,6 +25,9 @@ echo "This is ${WORKSPACE}/test/csit/scripts/externalapi-nbi/start_nbi_container
mkdir -p $WORKSPACE/externalapi-nbi
cd $WORKSPACE/externalapi-nbi
+# Create .env file to access env variables for docker-compose
+echo "NEXUS_DOCKER_REPO=${NEXUS_DOCKER_REPO}" > .env
+
# Fetch the latest docker-compose.yml
wget -O docker-compose.yml 'https://git.onap.org/externalapi/nbi/plain/docker-compose.yml?h=master'