Rally-Tests: allow os-interface to be defined

This PS updates the rally test runner script to allow the keystone
endpoint interface to be defined.

Change-Id: I88d7446c6bbb85090929be1728a308886cb41a74
Signed-off-by: Pete Birley <pete@port.direct>
This commit is contained in:
Pete Birley 2018-06-19 08:08:09 -05:00
parent abb00e97fd
commit 6bf37d7f84

View File

@ -20,6 +20,7 @@ set -ex
{{- $rallyTests := index . 0 }}
: "${RALLY_ENV_NAME:="openstack-helm"}"
: "${OS_INTERFACE:="public"}"
rally-manage db create
cat > /tmp/rally-config.json << EOF
@ -27,7 +28,7 @@ cat > /tmp/rally-config.json << EOF
"type": "ExistingCloud",
"auth_url": "${OS_AUTH_URL}",
"region_name": "${OS_REGION_NAME}",
"endpoint_type": "public",
"endpoint_type": "${OS_INTERFACE}",
"admin": {
"username": "${OS_USERNAME}",
"password": "${OS_PASSWORD}",