Enable security configuration for barbican grenade gate

The grenade gate attempts to run the barbican-tempest-plugin
tests, but the proper configuration of security features needs
to happen before the tests will pass. The configuration
happens in barbican-tempest-plugin's pre_test_hook.sh.

Change-Id: Id8c5fa6c59e1036958a8954305747c60292462dc
This commit is contained in:
Kaitlin Farr 2017-04-12 14:45:26 -04:00
parent d306983dc4
commit 49209861bf

View File

@ -189,6 +189,13 @@
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
# Add configuration values for enabling security features in local.conf
function pre_test_hook {{
if [ -f /opt/stack/new/barbican-tempest-plugin/tools/pre_test_hook.sh ] ; then
. /opt/stack/new/barbican-tempest-plugin/tools/pre_test_hook.sh
fi
}}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh