Merge "Updates to Devstack Variables"

This commit is contained in:
Jenkins 2017-04-05 13:34:50 +00:00 committed by Gerrit Code Review
commit 455d6f88b7
2 changed files with 9 additions and 2 deletions

View File

@ -15,6 +15,8 @@
set -ex
# Install barbican devstack integration
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican https://git.openstack.org/openstack/barbican"
if [ -z "$DEVSTACK_LOCAL_CONFIG" ]; then
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican https://git.openstack.org/openstack/barbican"
fi
$BASE/new/devstack-gate/devstack-vm-gate.sh

View File

@ -24,4 +24,9 @@ sudo pip install -r /opt/stack/new/barbican/test-requirements.txt
cd /opt/stack/new/barbican/functionaltests
echo 'Running Functional Tests'
sudo ./run_tests.sh $plugin
if [ "$DEVSTACK_GATE_USE_PYTHON3" = True ]; then
export PYTHON=$(which python3 2>/dev/null)
fi
sudo -E ./run_tests.sh $plugin