Run cinderclient functional tests in Identity v3-only

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

Change-Id: Ibb87e466ddc80c008d204d14512d90036d0724a5
This commit is contained in:
Raildo Mascena 2016-05-06 11:05:29 -03:00 committed by Raildo Mascena
parent faad67df2d
commit e8207cc64a
3 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,5 @@
- job-template:
name: '{pipeline}-cinderclient-dsvm-functional{job-suffix}'
name: '{pipeline}-cinderclient-dsvm-functional{special}{job-suffix}'
node: '{node}'
wrappers:
@ -20,7 +20,9 @@
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{special}" == "-identity-v3-only" ] ; then
export DEVSTACK_LOCAL_CONFIG="ENABLE_IDENTITY_V2=False"
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-cinderclient/cinderclient/tests/functional/hooks/post_test_hook.sh

View File

@ -7637,11 +7637,18 @@
- pypi-jobs
- openstack-releasenotes-jobs
- 'lib-forward-testing-{name}'
- '{pipeline}-cinderclient-dsvm-functional{job-suffix}':
- '{pipeline}-cinderclient-dsvm-functional{special}{job-suffix}':
pipeline: gate
node: ubuntu-trusty
special: ''
job-suffix: ''
branch-override: default
- '{pipeline}-cinderclient-dsvm-functional{special}{job-suffix}':
pipeline: gate
node: ubuntu-trusty
special: '-identity-v3-only'
job-suffix: '-nv'
branch-override: default
- gate-{name}-pylint
- project:

View File

@ -10452,6 +10452,7 @@ projects:
- name: release-notes-jobs
check:
- gate-cinderclient-dsvm-functional
- gate-cinderclient-dsvm-functional-identity-v3-only-nv
- gate-python-cinderclient-pylint
post:
- python-cinderclient-coverage