From 49209861bf8b7c3f385bbe237dcf9d92c4b2f801 Mon Sep 17 00:00:00 2001 From: Kaitlin Farr Date: Wed, 12 Apr 2017 14:45:26 -0400 Subject: [PATCH] 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 --- jenkins/jobs/barbican.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/jenkins/jobs/barbican.yaml b/jenkins/jobs/barbican.yaml index ca552bdd1f..226c1ceeb3 100644 --- a/jenkins/jobs/barbican.yaml +++ b/jenkins/jobs/barbican.yaml @@ -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