Merge "Add functional test job for cinderclient"
This commit is contained in:
commit
abaa50abbb
36
jenkins/jobs/cinder.yaml
Normal file
36
jenkins/jobs/cinder.yaml
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
- job-template:
|
||||||
|
name: '{pipeline}-cinderclient-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-cinderclient
|
||||||
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
||||||
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
||||||
|
fi
|
||||||
|
|
||||||
|
function post_test_hook {{
|
||||||
|
# Configure and run functional tests
|
||||||
|
$BASE/new/python-cinderclient/cinderclient/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
|
@ -798,6 +798,11 @@
|
|||||||
- openstack-publish-jobs
|
- openstack-publish-jobs
|
||||||
- pypi-jobs
|
- pypi-jobs
|
||||||
- 'lib-forward-testing-{name}'
|
- 'lib-forward-testing-{name}'
|
||||||
|
- '{pipeline}-cinderclient-dsvm-functional{branch-designator}':
|
||||||
|
pipeline: check
|
||||||
|
node: 'devstack-precise || devstack-trusty'
|
||||||
|
branch-designator: ''
|
||||||
|
branch-override: default
|
||||||
|
|
||||||
|
|
||||||
- project:
|
- project:
|
||||||
|
@ -2258,6 +2258,7 @@ projects:
|
|||||||
- python-cinderclient-coverage
|
- python-cinderclient-coverage
|
||||||
experimental:
|
experimental:
|
||||||
- gate-grenade-dsvm-forward
|
- gate-grenade-dsvm-forward
|
||||||
|
- check-cinderclient-dsvm-functional
|
||||||
|
|
||||||
- name: openstack/python-congressclient
|
- name: openstack/python-congressclient
|
||||||
template:
|
template:
|
||||||
|
Loading…
Reference in New Issue
Block a user