Add setting for INSTALL_TESTONLY_PACKAGES

Some jobs need to have the test packages installed, such as
check-swift-dsvm-functional.

Change-Id: Iac538c07cd33f130ccb33f3b2ca8c92a17568553
closes-bug: #1341507
This commit is contained in:
Dean Troyer
2014-07-14 12:55:02 -05:00
committed by Monty Taylor
parent 344cd2286a
commit 9f8fb3d9e7
2 changed files with 7 additions and 0 deletions

View File

@@ -190,6 +190,9 @@ export DEVSTACK_GATE_CONFIGDRIVE=${DEVSTACK_GATE_CONFIGDRIVE:-1}
# Set to 1 to enable running a keystone v3 based gate
export DEVSTACK_GATE_KEYSTONE_V3=${DEVSTACK_GATE_KEYSTONE_V3:-0}
# Set to 1 to enable installing test requirements
export DEVSTACK_GATE_INSTALL_TESTONLY=${DEVSTACK_GATE_INSTALL_TESTONLY:-0}
# Set to 0 to run services that default under Apache + mod_wsgi under alternatives (e.g. eventlet)
# if possible
export DEVSTACK_GATE_ENABLE_HTTPD_MOD_WSGI_SERVICES=${DEVSTACK_GATE_ENABLE_HTTPD_MOD_WSGI_SERVICES:-1}

View File

@@ -230,6 +230,10 @@ EOF
if [[ "$DEVSTACK_GATE_TEMPEST_NOVA_V3_API" -eq "1" ]]; then
echo "TEMPEST_NOVA_API_V3=True" >> localrc
fi
if [[ "$DEVSTACK_GATE_INSTALL_TESTONLY" -eq "1" ]]; then
# Sometimes we do want the test packages
echo "INSTALL_TESTONLY_PACKAGES=True" >> localrc
fi
}
if [[ "$DEVSTACK_GATE_GRENADE" -eq "1" ]]; then