065a80d9c2
With change Iff5e96bd80b8f165ccc7d6be09b53208613571eb, we do not need to pass DEVSTACK_GATE_TIMEOUT anymore to devstack-gate, instead the value from the build-timeout wrapper is passed. Remove DEVSTACK_GATE_TIMEOUT for jenkins/jobs/[n-z]*.yaml Increase timeout for all non-grenade jobs by 5 mins since Iea866e4cc40e149e598f35e010ec855937bdf9ae will use a 10 minute buffer and the internal timeout should stay the same. The grenade jobs already have 10 mins of buffer, so no need adjust the timeout. Adjust timeout for gate-rally-dsvm-cue-{broker}, the removed variable in builder devstack-cue-rally-gate was 100, so set timeout to 110. Change-Id: I623fff029fb2e0acdbe2bf93a13af02547062a71
68 lines
2.7 KiB
YAML
68 lines
2.7 KiB
YAML
- job-template:
|
|
name: '{trigger}-tripleo-ci-{jobname}'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 180
|
|
- 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_TEMPEST=0
|
|
export DEVSTACK_GATE_EXERCISES=0
|
|
|
|
export PROJECTS="openstack/instack $PROJECTS"
|
|
export PROJECTS="openstack/instack-undercloud $PROJECTS"
|
|
export PROJECTS="openstack/puppet-aodh $PROJECTS"
|
|
export PROJECTS="openstack/puppet-ceilometer $PROJECTS"
|
|
export PROJECTS="openstack/puppet-ceph $PROJECTS"
|
|
export PROJECTS="openstack/puppet-cinder $PROJECTS"
|
|
export PROJECTS="openstack/puppet-glance $PROJECTS"
|
|
export PROJECTS="openstack/puppet-gnocchi $PROJECTS"
|
|
export PROJECTS="openstack/puppet-heat $PROJECTS"
|
|
export PROJECTS="openstack/puppet-horizon $PROJECTS"
|
|
export PROJECTS="openstack/puppet-ironic $PROJECTS"
|
|
export PROJECTS="openstack/puppet-keystone $PROJECTS"
|
|
export PROJECTS="openstack/puppet-mistral $PROJECTS"
|
|
export PROJECTS="openstack/puppet-neutron $PROJECTS"
|
|
export PROJECTS="openstack/puppet-nova $PROJECTS"
|
|
export PROJECTS="openstack/puppet-openstack_extras $PROJECTS"
|
|
export PROJECTS="openstack/puppet-openstacklib $PROJECTS"
|
|
export PROJECTS="openstack/puppet-sahara $PROJECTS"
|
|
export PROJECTS="openstack/puppet-swift $PROJECTS"
|
|
export PROJECTS="openstack/puppet-tripleo $PROJECTS"
|
|
export PROJECTS="openstack/puppet-vswitch $PROJECTS"
|
|
export PROJECTS="openstack/python-ironic-inspector-client $PROJECTS"
|
|
export PROJECTS="openstack/python-tripleoclient $PROJECTS"
|
|
export PROJECTS="openstack/tripleo-common $PROJECTS"
|
|
export PROJECTS="openstack/tripleo-puppet-elements $PROJECTS"
|
|
|
|
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
|