435e21b9a9
This patch adds tripleo-puppet-elements and puppet-tripleo to the tripleo jobs so that we have test coverage on these repos. This should make it so the git refs get fetched. Change-Id: I8702e4cd9442fcef891af26b0dcd6cbf6c49bf8b
40 lines
1.1 KiB
YAML
40 lines
1.1 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-tripleo"
|
|
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
|
|
|