Add functional test job for python-ceilometerclient

Create functional test job for python-ceilometerclient, set as non-voting
until it's working. The tests are being migrated from tempest cli tests.

Change-Id: Ib9393523812801cd51885b83afb78a0b7491f6b0
This commit is contained in:
Chris Dent 2015-03-12 15:15:33 +00:00
parent 9e31aaf6db
commit eae6daec3a
3 changed files with 47 additions and 0 deletions

View File

@ -59,3 +59,41 @@
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-ceilometerclient-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-ceilometerclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-ceilometerclient/ceilometerclient/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

View File

@ -700,6 +700,11 @@
- pypi-jobs
- 'stable-compat-jobs-{name}'
- 'lib-forward-testing-{name}'
- '{pipeline}-ceilometerclient-dsvm-functional{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project:

View File

@ -951,6 +951,8 @@ jobs:
branch: ^(?!stable/(icehouse|juno)).*$
- name: gate-ceilometer-python34
branch: ^master$
- name: ^(gate|check)-ceilometerclient-dsvm-functional$
voting: false
- name: gate-nova-pip-missing-reqs
voting: false
- name: gate-nova-tox-functional
@ -1774,6 +1776,8 @@ projects:
- name: lib-forward-testing
post:
- python-ceilometerclient-coverage
experimental:
- check-ceilometerclient-dsvm-functional
- name: openstack/python-cinderclient
template: