Do not require functional_creds.conf for functional tests
Pass OS_* env variables for functional tests to use environment variables if they are available instead of config file Change-Id: Ic1b4752bf558c57974b5f2a4d5a45aee4a940bbb
This commit is contained in:
parent
6dd17021cf
commit
73f442380c
@ -37,19 +37,6 @@ sudo chown -R jenkins:stack $CINDERCLIENT_DIR
|
||||
cd $STACK_DIR
|
||||
source openrc admin admin
|
||||
|
||||
# Store these credentials into the config file
|
||||
CREDS_FILE=$CINDERCLIENT_DIR/functional_creds.conf
|
||||
cat <<EOF > $CREDS_FILE
|
||||
# Credentials for functional testing
|
||||
[auth]
|
||||
uri = $OS_AUTH_URL
|
||||
|
||||
[admin]
|
||||
user = $OS_USERNAME
|
||||
tenant = $OS_TENANT_NAME
|
||||
pass = $OS_PASSWORD
|
||||
EOF
|
||||
|
||||
# Go to the cinderclient dir
|
||||
cd $CINDERCLIENT_DIR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user