Run glanceclient functional tests in Identity v3-only

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

Change-Id: Ia92077996532a097e2ad26eb61c9e44e01bcf190
This commit is contained in:
Raildo Mascena 2016-05-06 11:27:32 -03:00 committed by Raildo Mascena
parent f088af192b
commit 5e512e6281
3 changed files with 13 additions and 3 deletions

View File

@ -1,5 +1,5 @@
- job-template:
name: '{pipeline}-glanceclient-dsvm-functional{job-suffix}'
name: '{pipeline}-glanceclient-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-glanceclient/glanceclient/tests/functional/hooks/post_test_hook.sh

View File

@ -7821,11 +7821,18 @@
- openstack-publish-jobs
- pypi-jobs
- 'lib-forward-testing-{name}'
- '{pipeline}-glanceclient-dsvm-functional{job-suffix}':
- '{pipeline}-glanceclient-dsvm-functional{special}{job-suffix}':
pipeline: gate
node: ubuntu-trusty
special: ''
job-suffix: ''
branch-override: default
- '{pipeline}-glanceclient-dsvm-functional{special}{job-suffix}':
pipeline: gate
node: ubuntu-trusty
special: '-identity-v3-only'
job-suffix: '-nv'
branch-override: default
- project:
name: python-gnocchiclient

View File

@ -10548,6 +10548,7 @@ projects:
- name: lib-forward-testing
check:
- gate-glanceclient-dsvm-functional
- gate-glanceclient-dsvm-functional-identity-v3-only-nv
gate:
- gate-glanceclient-dsvm-functional
post: