Keep localrc in CLI Sahara job

We need to add additional configuration for devstack (file upload).
Also remove the post hook, not useful anymore after the tests are
changed into real Tempest tests.

Change-Id: If971b8e8a677a74a30869f28b777dce40807e280
This commit is contained in:
Luigi Toscano 2016-07-29 11:25:55 +02:00
parent 8e0d251c04
commit e70817ae20

View File

@ -141,6 +141,7 @@
export DEVSTACK_GATE_TEMPEST_REGEX="sahara_tempest_plugin.tests.cli"
export DEVSTACK_LOCAL_CONFIG="enable_plugin sahara git://git.openstack.org/openstack/sahara"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"export TEMPEST_PLUGINS='/opt/stack/new/sahara-tests'"
export KEEP_LOCALRC=1
export PROJECTS="openstack/sahara-tests openstack/python-saharaclient $PROJECTS"
if [ "$ZUUL_PROJECT" = "openstack/python-saharaclient" ]; then
@ -154,13 +155,6 @@
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/sahara-tests/tools/gate/cli_tests
./post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh