aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ci/launch_containers_by_testsuite.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ci/launch_containers_by_testsuite.sh')
-rwxr-xr-xtests/ci/launch_containers_by_testsuite.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/ci/launch_containers_by_testsuite.sh b/tests/ci/launch_containers_by_testsuite.sh
index b55ba09c..08b80028 100755
--- a/tests/ci/launch_containers_by_testsuite.sh
+++ b/tests/ci/launch_containers_by_testsuite.sh
@@ -7,6 +7,8 @@
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
+export ENV_FILE="${WORKSPACE}/env_file"
+
if [[ -e $ENV_FILE ]];then
rm $ENV_FILE
fi
@@ -51,8 +53,8 @@ if [[ "$TEST_SUITE" == 'compute' ]];then
elif [[ "$TEST_SUITE" == 'storage' ]];then
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
- git clone --depth 1 https://gerrit.opnfv.org/gerrit/releng $WORKSPACE/releng
- $WORKSPACE/releng/utils/fetch_os_creds.sh -i $INSTALLER_TYPE -a $INSTALLER_IP -d $WORKSPACE/openrc
+ curl https://git.opnfv.org/releng/plain/utils/fetch_os_creds.sh | bash -s -- \
+ -i $INSTALLER_TYPE -a $INSTALLER_IP -d $WORKSPACE/openrc
grep "export" $WORKSPACE/openrc | sed "s/export //" >> $ENV_FILE
echo "DOCKER_TAG=$DOCKER_TAG" >> $ENV_FILE