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

View File

@ -7821,11 +7821,18 @@
- openstack-publish-jobs - openstack-publish-jobs
- pypi-jobs - pypi-jobs
- 'lib-forward-testing-{name}' - 'lib-forward-testing-{name}'
- '{pipeline}-glanceclient-dsvm-functional{job-suffix}': - '{pipeline}-glanceclient-dsvm-functional{special}{job-suffix}':
pipeline: gate pipeline: gate
node: ubuntu-trusty node: ubuntu-trusty
special: ''
job-suffix: '' job-suffix: ''
branch-override: default 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: - project:
name: python-gnocchiclient name: python-gnocchiclient

View File

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