project-config/jenkins/jobs/vitrage.yaml
Alexey Weyl 502908c7ac Change node to xenial.
The following aodh commit requires mysql>=5.6.4, causing
vitrage jenkins job failures when trusty node is used.
So we specify xenial node.

f8d3068bd2 (diff-6f7ec000163298dd067c3235a378b765)

Change-Id: Ia74a1eb55f97b13c300cc20c458632c9f9536ecd
2016-11-21 21:30:40 +02:00

47 lines
1.4 KiB
YAML

- job-template:
name: '{pipeline}-vitrage-dsvm-{suite}-{node}{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export PROJECTS="openstack/python-vitrageclient $PROJECTS"
export PROJECTS="openstack/vitrage $PROJECTS"
export PROJECTS="openstack/vitrage-dashboard $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export ENABLED_SERVICES=tempest
export DEVSTACK_LOCAL_CONFIG="enable_plugin vitrage git://git.openstack.org/openstack/vitrage"
function pre_test_hook {{
source $BASE/new/vitrage/devstack/pre_test_hook.sh
}}
export -f pre_test_hook
function gate_hook {{
source $BASE/new/vitrage/devstack/gate_hook.sh
}}
export -f gate_hook
function post_test_hook {{
source $BASE/new/vitrage/devstack/post_test_hook.sh '{suite}'
}}
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