Add functional test job for ceilometer

We have a functional tests for ceilometer and
current patch adds the job to project-config to configure and
these tests.

Put it to experimental jobs to make sure of correct working.

Change-Id: I2714a145bece0da86d3a50f313d74535fd2c8607
Partially implements: blueprint ceilometer-functional-tests
This commit is contained in:
Ilya Tyaptin 2015-05-19 13:39:54 +03:00
parent 54ffaef234
commit 63a4dbb450
3 changed files with 42 additions and 0 deletions

View File

@ -60,6 +60,41 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-ceilometer-dsvm-functional-{backend}{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/ceilometer/ceilometer/tests/functional/hooks/post_test_hook.sh "{backend}"
}}
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
- job-template:
name: '{pipeline}-ceilometerclient-dsvm-functional{branch-designator}'

View File

@ -53,6 +53,12 @@
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
- '{pipeline}-ceilometer-dsvm-functional-{backend}{branch-designator}':
pipeline: 'check'
backend: 'mongodb'
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
- project:
name: ceilometer-specs

View File

@ -1465,6 +1465,7 @@ projects:
- gate-grenade-dsvm-forward
- gate-tempest-dsvm-ceilometer-es
- gate-tempest-dsvm-ceilometer-es-full
- check-ceilometer-dsvm-functional-mongodb
- name: openstack/ceilometer-specs
template: