project-config/jenkins/jobs/tacker.yaml
Andreas Jaeger 52f23f39a5 Use local_conf for castellan, oaktree, rally, tacker
Convert dsvm jobs to use local_conf whenever possible.

Change-Id: Ib76fdf6630d38df886faeda5b6d4c31ef67d55eb
2017-07-18 10:02:51 +02:00

61 lines
2.3 KiB
YAML

- job-template:
name: '{pipeline}-tacker-dsvm-functional-{node}{suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- local_conf:
conf: |
[[local|localrc]]
SFC_UPDATE_OVS=False
enable_plugin heat git://git.openstack.org/openstack/heat
enable_plugin aodh git://git.openstack.org/openstack/aodh
enable_plugin ceilometer https://git.openstack.org/openstack/ceilometer
enable_plugin networking-sfc http://git.trystack.cn/openstack/networking-sfc
enable_plugin mistral git://git.openstack.org/openstack/mistral
enable_plugin barbican git://git.openstack.org/openstack/barbican
enable_plugin tacker git://git.openstack.org/openstack/tacker
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_HORIZON=1
export DEVSTACK_GATE_TEMPEST=0
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/tacker $PROJECTS"
export PROJECTS="openstack/tacker-horizon $PROJECTS"
export PROJECTS="openstack/python-tackerclient $PROJECTS"
export PROJECTS="openstack/heat $PROJECTS"
export PROJECTS="openstack/aodh $PROJECTS"
export PROJECTS="openstack/ceilometer $PROJECTS"
export PROJECTS="openstack/networking-sfc $PROJECTS"
export PROJECTS="openstack/mistral $PROJECTS"
export PROJECTS="openstack/mistral-dashboard $PROJECTS"
export PROJECTS="openstack/python-mistralclient $PROJECTS"
export PROJECTS="openstack/barbican $PROJECTS"
export PROJECTS="openstack/python-barbicanclient $PROJECTS"
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
bash -xe $BASE/new/tacker/tacker/tests/contrib/post_test_hook.sh dsvm-functional
}}
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