Clark Boylan 2da6d623e0 Revert "Revert "Update jenkins jobs to optionally allow trusty""
This reverts commit 607b2f2ab4962dec4f4400ecc4687db2b206003a.

Jenkins masters have all had their gearman plugin updating which makes
them register jobs properly.

Conflicts:
	modules/openstack_project/files/zuul/layout.yaml

Change-Id: I3edeb26c9a1d3878b80266ea32d333bd8fc2f67e
2014-06-23 17:05:17 -07:00

33 lines
949 B
YAML

- job:
name: gate-heat-templates-dsvm
node: 'devstack-precise || devstack-trusty'
wrappers:
- timeout:
timeout: 120
fail: true
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export PROJECTS="openstack/heat-templates $PROJECTS"
function post_test_hook {
source $BASE/new/devstack/openrc && \
python $BASE/new/heat-templates/tools/validate-templates $BASE/new/heat-templates
}
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