d02fea4e3e
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
40 lines
1.1 KiB
YAML
40 lines
1.1 KiB
YAML
- 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
|