From 8484979d76bb60cd9963365c6c0ab0084194d692 Mon Sep 17 00:00:00 2001 From: Eric Debeau Date: Sat, 12 May 2018 07:29:49 +0000 Subject: 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 --- test/csit/scripts/externalapi-nbi/start_nbi_containers.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') 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' -- cgit 1.2.3-korg