Merge "Add functional test job for ceilometer"
This commit is contained in:
commit
8b1eed3b18
@ -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}'
|
||||
|
@ -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
|
||||
|
@ -1500,6 +1500,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:
|
||||
|
Loading…
Reference in New Issue
Block a user