project-config/jenkins/jobs/vitrage.yaml
Noam Bloom cbd220df93 Vitrage - Zuul/Jenkins fix
layout.yaml - Removed Python3 jobs temporarily until
     we set our local tox to run py34 instead of py3.
vitrage.yaml - Fixed hook function to use source

URGENT - Thanks :)

Change-Id: I58994cf77608df5310d6a2b45de195dcc718cfe2
2016-04-19 11:24:14 +03:00

46 lines
1.3 KiB
YAML

- job-template:
name: '{pipeline}-vitrage-dsvm{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 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
}}
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