Run novaclient functional tests in Identity v3-only

Creates a new job that runs nova functional tests in a
identity v3-only devstack, and adds this job to the novaclient
pipeline.

Change-Id: I7c1aa379cd88b7ca5b9af47506f9fdb56978f82f
This commit is contained in:
Raildo Mascena 2016-05-06 11:53:41 -03:00 committed by Raildo Mascena
parent a9f793eed1
commit cb4f2f330e
3 changed files with 16 additions and 2 deletions

View File

@ -1,5 +1,5 @@
- job-template:
name: '{pipeline}-novaclient-dsvm-functional{job-suffix}'
name: '{pipeline}-novaclient-dsvm-functional{special}{job-suffix}'
node: '{node}'
wrappers:
@ -25,6 +25,9 @@
# Configure and run functional tests
$BASE/new/python-novaclient/novaclient/tests/functional/hooks/post_test_hook.sh
}}
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG="ENABLE_IDENTITY_V2=False"
fi
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh

View File

@ -7893,11 +7893,18 @@
- translation-jobs
- openstack-releasenotes-jobs
- 'lib-forward-testing-{name}'
- '{pipeline}-novaclient-dsvm-functional{job-suffix}':
- '{pipeline}-novaclient-dsvm-functional{special}{job-suffix}':
pipeline: gate
node: ubuntu-trusty
special: ''
job-suffix: ''
branch-override: default
- '{pipeline}-novaclient-dsvm-functional{special}{job-suffix}':
pipeline: gate
node: ubuntu-trusty
special: '-identity-v3-only'
job-suffix: '-nv'
branch-override: default
- project:
name: python-oneviewclient

View File

@ -1621,6 +1621,9 @@ jobs:
- ^tox.ini$
voting: false
- name: ^gate-.*-identity-v3-only.*
branch: ^(?!stable/(liberty|mitaka)).*$
- name: gate-tempest-dsvm-nova-libvirt-kvm-apr
branch: ^(?!stable/(kilo|liberty|mitaka)).*$
voting: false
@ -10718,6 +10721,7 @@ projects:
- name: release-notes-jobs
check:
- gate-novaclient-dsvm-functional
- gate-novaclient-dsvm-functional-identity-v3-only-nv
gate:
- gate-novaclient-dsvm-functional
post: