Merge "Add functional test job for python-glanceclient"

This commit is contained in:
Jenkins 2015-05-01 13:38:59 +00:00 committed by Gerrit Code Review
commit db08209142
3 changed files with 46 additions and 0 deletions

36
jenkins/jobs/glance.yaml Normal file

@ -0,0 +1,36 @@
- job-template:
name: '{pipeline}-glanceclient-dsvm-functional{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=python-glanceclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-glanceclient/glanceclient/tests/functional/hooks/post_test_hook.sh
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
publishers:
- test-results
- devstack-logs
- console-log

@ -803,6 +803,11 @@
- openstack-publish-jobs
- pypi-jobs
- 'lib-forward-testing-{name}'
- '{pipeline}-glanceclient-dsvm-functional{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:

@ -1009,6 +1009,10 @@ jobs:
# TODO(ihrachys): Enable again once the test is passing against icehouse
- name: ^(gate|check)-swift-dsvm-functional
branch: ^(?!stable/icehouse).*$
# TODO(kragniz): Enable voting when tests pass
- name: ^(gate|check)-glanceclient-dsvm-functional
branch: ^(?!stable/kilo).*$
voting: false
- name: gate-kolla-bashate
voting: false
- name: ^(gate-)?devstack-publish-docs
@ -2048,6 +2052,7 @@ projects:
- python-glanceclient-coverage
experimental:
- gate-grenade-dsvm-forward
- check-glanceclient-dsvm-functional
#TODO: add docs
- name: openstack/python-heatclient