remove sourcing of opnfv-openrc.rc in releng script 15/1315/1
authorMorgan Richomme <morgan.richomme@orange.com>
Wed, 26 Aug 2015 16:12:11 +0000 (18:12 +0200)
committerMorgan Richomme <morgan.richomme@orange.com>
Wed, 26 Aug 2015 16:12:11 +0000 (18:12 +0200)
no file must be sourced from functest now assuming that we retrieve all the creds dynamically through the script utils/fetch_os_creds.sh before running functest

JIRA: FUNCTEST-42

Change-Id: I781fb1710086ae2ef8078b5deb1aeef4197712cf
Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
jjb/functest/functest.yml

index bf824b6..7ea794a 100644 (file)
 
             echo "Functest: prepare Functest environment"
             mkdir -p $HOME/functest/
-            # source openstack vars
-            if [[ ! -f $HOME/opnfv-openrc.sh ]]; then
-                echo "Unable to access file $HOME/opnfv-openrc.sh"
-                exit 1
-            fi
-            source $HOME/opnfv-openrc.sh
 
             # WORKSPACE is the root of the functest repo
             # go into WORKSPACE where the functest repo is cloned
 
             echo "Functest: prepare Functest environment"
             mkdir -p $HOME/functest/
-            # source openstack vars
-            if [[ ! -f $HOME/opnfv-openrc.sh ]]; then
-                echo "Unable to access file $HOME/opnfv-openrc.sh"
-                exit 1
-            fi
-            source $HOME/opnfv-openrc.sh
 
             # WORKSPACE is the root of the functest repo
             # go into WORKSPACE where the functest repo is cloned
 
             echo "Functest: prepare Functest environment"
             mkdir -p $HOME/functest/
-            source $HOME/functest/opnfv-openrc.sh
 
             # WORKSPACE is the root of the functest repo
             # go into WORKSPACE where the functest repo is cloned