Dan Prince 02e6280b0d Add puppet stackforge modules to tripleo jobs
We need to set the PROJECTS variable so that it contains all the
various puppet stackforge projects so that we can have proper
refspecs setup in /opt/stack/new for our CI jobs. This will
allow TripleO to provide CI coverage on these projects
once we decide to enable it.

Change-Id: I0aced3c0d1f3d2ce0bca00de847e41eee4dd2877
2015-04-21 16:53:53 -04:00

40 lines
1.5 KiB
YAML

- job-template:
name: 'check-tripleo-{jobname}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 175
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export TOCI_JOBTYPE={type}
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=170
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export PROJECTS="openstack/tripleo-puppet-elements stackforge/puppet-ceph stackforge/puppet-ceilometer stackforge/puppet-cinder stackforge/puppet-glance stackforge/puppet-heat stackforge/puppet-horizon stackforge/puppet-keystone stackforge/puppet-neutron stackforge/puppet-nova stackforge/puppet-openstack stackforge/puppet-sahara stackforge/puppet-swift stackforge/puppet-vswitch stackforge/puppet-openstacklib stackforge/puppet-tripleo stackforge/puppet-ironic stackforge/puppet-openstack_extras stackforge/puppet-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:
- scp:
site: 'static.openstack.org'
files:
- target: 'logs/$LOG_PATH'
source: 'logs/**'
keep-hierarchy: true
copy-after-failure: true
- console-log