project-config/jenkins/jobs/tripleo.yaml
Steven Hardy f5dfaae2e2 Add stable/liberty tripleo job
Recently tripleo created stable/liberty branches for several repos, ref
https://review.openstack.org/#/c/221811/, this adds an initial job
which will test using these new branches.

Co-Authored-By: Derek Higgins <derekh@redhat.com>
Depends-On: I34ea635382114bf4f075f3d8df1188c3beae8727
Depends-On: I1c7a696cf45f9b7d02d8f603fe3377769b1c5672
Change-Id: I5334525e16a8ff59aff48c8f8125ef27965aaba3
2015-11-11 00:26:57 +00:00

44 lines
1.8 KiB
YAML

- job-template:
name: '{trigger}-tripleo-ci-{jobname}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 175
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export TOCI_JOBTYPE={type}
# ZUUL Doesn't set these for periodic jobs
export ZUUL_BRANCH=${{ZUUL_BRANCH:-master}}
export ZUUL_REF=${{ZUUL_REF:-None}}
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=170
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export PROJECTS="openstack/instack openstack/instack-undercloud openstack/python-ironic-inspector-client openstack/python-tripleoclient openstack/python-tuskarclient openstack/tripleo-puppet-elements openstack/puppet-ceph openstack/puppet-ceilometer openstack/puppet-cinder openstack/puppet-glance openstack/puppet-heat openstack/puppet-horizon openstack/puppet-keystone openstack/puppet-neutron openstack/puppet-nova openstack/puppet-sahara openstack/puppet-swift openstack/puppet-vswitch openstack/puppet-openstacklib openstack/puppet-tripleo openstack/puppet-ironic openstack/puppet-openstack_extras openstack/puppet-tuskar openstack/tripleo-common openstack/tuskar"
sudo chown -hR $(whoami) /opt/git
function gate_hook {{
bash -xe /opt/stack/new/tripleo-ci/toci_gate_test.sh
}}
export -f gate_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