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:
parent
d306983dc4
commit
49209861bf
@ -189,6 +189,13 @@
|
|||||||
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||||
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||||
fi
|
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
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
./safe-devstack-vm-gate-wrap.sh
|
./safe-devstack-vm-gate-wrap.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user