Adding Python3 Functional Test Gate for Barbican

Adding a non-voting job that runs Barbican's functional test
suite using Python 3.

Partially-Implements: blueprint goal-py3

Change-Id: Ifd89039513dd27807a6866ef56d41cbb0d521afe
This commit is contained in:
Dave McCowan 2017-03-23 18:22:15 -04:00
parent a62bba1dae
commit 79993d2fcd
3 changed files with 16 additions and 0 deletions

View File

@ -19,6 +19,12 @@
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
export PROJECTS="openstack/barbican-tempest-plugin $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin barbican git://git.openstack.org/openstack/barbican"
if [ "{special}" == "-py35" ] ; then
export DEVSTACK_GATE_USE_PYTHON3=True
export DEVSTACK_LOCAL_CONFIG+=$'\n'"disable_python3_package swift"
else
export DEVSTACK_GATE_USE_PYTHON3=False
fi
function gate_hook {{
$BASE/new/barbican/devstack/gate_hook.sh

View File

@ -366,6 +366,12 @@
services: tempest,keystone
special: ''
suffix: ''
- 'gate-barbican-{plugin}-devstack{special}-{node}{suffix}':
plugin: simple-crypto
node: ubuntu-xenial
services: tempest,keystone
special: '-py35'
suffix: '-nv'
- 'gate-barbican-{plugin}-devstack{special}-{node}{suffix}':
plugin: simple-crypto
node: ubuntu-trusty

View File

@ -2861,6 +2861,9 @@ jobs:
- ^.*\.rst$
- ^doc/.*$
- name: ^gate-barbican-simple-crypto-devstack-py35-.*$
branch: ^(?!stable/(mitaka|newton|ocata)).*$
- name: gate-designate-python34
branch: ^stable/mitaka$
@ -5893,6 +5896,7 @@ projects:
- barbican-coverage-ubuntu-xenial-nv
- gate-barbican-simple-crypto-devstack-ubuntu-trusty
- gate-barbican-simple-crypto-devstack-ubuntu-xenial
- gate-barbican-simple-crypto-devstack-py35-ubuntu-xenial-nv
- gate-barbican-dogtag-devstack-fedora-25-nv
- gate-barbican-kmip-devstack-ubuntu-xenial-nv
- gate-barbican-simple-crypto-devstack-postgres-ubuntu-trusty-nv