Add a new job for heat-templates
This adds a new job that fires a devstack and then call a script validating all the templates in heat-templates. Change-Id: Ica4af76830de3370a06d3786c79af6b79d980ed6
This commit is contained in:
parent
38bffa4ea3
commit
019b881df9
@ -0,0 +1,32 @@
|
|||||||
|
- job:
|
||||||
|
name: gate-heat-templates-dsvm
|
||||||
|
node: devstack-precise
|
||||||
|
|
||||||
|
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
|
@ -556,6 +556,8 @@ jobs:
|
|||||||
voting: false
|
voting: false
|
||||||
- name: gate-cliff-requirements
|
- name: gate-cliff-requirements
|
||||||
voting: false
|
voting: false
|
||||||
|
- name: gate-heat-templates-dsvm
|
||||||
|
voting: false
|
||||||
|
|
||||||
# The project list is grouped by type of project, and within each
|
# The project list is grouped by type of project, and within each
|
||||||
# group, projects are sorted (mostly) alphabetically.
|
# group, projects are sorted (mostly) alphabetically.
|
||||||
@ -1627,7 +1629,7 @@ projects:
|
|||||||
|
|
||||||
- name: openstack/heat-templates
|
- name: openstack/heat-templates
|
||||||
check:
|
check:
|
||||||
- noop
|
- gate-heat-templates-dsvm
|
||||||
gate:
|
gate:
|
||||||
- noop
|
- noop
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user