project-config/jenkins/jobs/vitrage.yaml
Andreas Jaeger e369275eee Convert jobs to use local_conf
Convert some more job templates to use local_conf.

This handles files [s-z]* and converts all templates where a conversion
was directly possible.

Change-Id: Idf3143ea38709d69e8de01667bc129fe9cacdbca
2017-05-27 16:48:40 +02:00

49 lines
1.4 KiB
YAML

- job-template:
name: '{pipeline}-vitrage-dsvm-{suite}-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
enable_plugin vitrage git://git.openstack.org/openstack/vitrage
- 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
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