Add jobs to support aodh functional testing

Aodh is already being tested in the gate but hasn't been running any
functional tests. This starts the process to get that going.

Depends-On: Ia40e9c6b956209ecd0086ca861a90ce0c92b7b10
Change-Id: I6b17a7cdd2732543a154706ea8c093e330b1b9b1
This commit is contained in:
Chris Dent 2015-07-24 15:46:33 +00:00
parent 02ffd2e229
commit d02fea4e3e
3 changed files with 55 additions and 0 deletions

39
jenkins/jobs/aodh.yaml Normal file
View File

@ -0,0 +1,39 @@
- job-template:
name: '{pipeline}-aodh-dsvm-functional-{backend}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 95
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=90
export PROJECTS="openstack/aodh $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin aodh git://git.openstack.org/openstack/aodh"
function gate_hook {{
cd /opt/stack/new/aodh/devstack/gate
./gate_hook.sh {backend}
}}
export -f gate_hook
function post_test_hook {{
cd /opt/stack/new/aodh/aodh/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

View File

@ -15,6 +15,18 @@
- python-jobs
- openstack-publish-jobs
- translation-jobs
- '{pipeline}-aodh-dsvm-functional-{backend}':
node: 'devstack-precise || devstack-trusty'
pipeline: gate
backend: mysql
- '{pipeline}-aodh-dsvm-functional-{backend}':
node: 'devstack-precise || devstack-trusty'
pipeline: gate
backend: postgresql
- '{pipeline}-aodh-dsvm-functional-{backend}':
node: 'devstack-precise || devstack-trusty'
pipeline: gate
backend: mongodb
- project:
name: barbican

View File

@ -1601,6 +1601,10 @@ projects:
- name: openstack-server-publish-jobs
- name: openstack-server-release-jobs
- name: translation-jobs
experimental:
- gate-aodh-dsvm-functional-mongodb
- gate-aodh-dsvm-functional-mysql
- gate-aodh-dsvm-functional-postgresql
- name: openstack/barbican
template: