Install Heat for Sahara scenario jobs only if needed

We're testing both heat and direct provisioning engines in sahara,
so we should install heat only if needed.

Change-Id: I24ec21629be7517ef05948bfb7622da68f332577
This commit is contained in:
Sergey Lukjanov 2015-08-25 11:33:37 +03:00
parent 44813d6e1d
commit f599e9278c

View File

@ -206,7 +206,6 @@
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_LOCAL_CONFIG="enable_plugin sahara git://git.openstack.org/openstack/sahara"
export DEVSTACK_GATE_HEAT=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
@ -221,6 +220,10 @@
export DEVSTACK_GATE_NEUTRON=1
fi
if [ "{engine}" == "heat" ] ; then
export DEVSTACK_GATE_HEAT=1
fi
function pre_test_hook {{
cd /opt/stack/new/sahara/tools/gate/scenario
./pre_test_hook.sh {network} {engine}