project-config/jenkins/jobs/cue.yaml
Clark Boylan 388decb5b8 Run cue jobs on Xenial
Part of the transition to Xenial. Cue only has a master branch so just
shift ahead to Xenial.

Change-Id: I7bb74b5e0a54a4eb248489ee702e640c90c098fb
2016-12-06 09:37:54 -08:00

47 lines
1.3 KiB
YAML

- job-template:
name: 'gate-cue-integration-dsvm-{broker}-{node}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 110
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_NOTESTS=1
export PROJECTS="openstack/cue openstack/python-cueclient openstack/cue-dashboard $PROJECTS"
export DEVSTACK_LOCAL_CONFIG="enable_plugin cue git://git.openstack.org/openstack/cue"
function gate_hook {{
cd /opt/stack/new/cue/tests
./gate_hook.sh {broker}
}}
export -f gate_hook
function pre_test_hook {{
cd /opt/stack/new/cue/tests
./pre_test_hook.sh {broker}
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/cue/tests
./post_test_hook.sh {broker}
}}
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:
- devstack-logs
- console-log