summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/externalapi-nbi/start_nbi_containers.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/csit/scripts/externalapi-nbi/start_nbi_containers.sh')
-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'