Define check-heat-dsvm-functional job

This job will do the following:
* start devstack
* source demo credentials required by functional tests
* run the functional tests from the heat tree

This job is initially non-voting and only applied to openstack/heat.
The heat-slow job will be deleted once this job is voting and also
applied to openstack projects which the functional tests exercise.

Partial-Blueprint: functional-tests
Change-Id: I149e4ed53ab951ae8f17c3f91f79bf7ccba7b5c7
This commit is contained in:
Steve Baker 2014-07-31 16:12:38 +12:00
parent 900922abd3
commit b237ff8c29
3 changed files with 48 additions and 0 deletions

View File

@ -29,3 +29,42 @@
publishers:
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-heat-dsvm-functional{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_NEUTRON=1
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export HEAT_CREATE_TEST_IMAGE=True
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
source /opt/stack/new/devstack/accrc/demo/demo
cd /opt/stack/new/heat
tox -efunctional
}}
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

View File

@ -682,6 +682,11 @@
jobs:
- python-jobs
- '{pipeline}-heat-dsvm-functional{branch-designator}':
pipeline: check
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- python-havana-bitrot-jobs
- openstack-publish-jobs
- translation-jobs

View File

@ -488,6 +488,9 @@ jobs:
voting: false
- name: ^(gate|check)-tempest-dsvm-neutron-heat-slow
branch: ^(?!stable/havana).*$
- name: check-heat-dsvm-functional
branch: ^(?!stable/(havana|icehouse)).*$
voting: false
- name: check-tempest-dsvm-ironic-nv
voting: false
- name: check-tempest-dsvm-ironic-postgres-nv
@ -983,6 +986,7 @@ projects:
- name: integrated-gate
- name: translation-jobs
check:
- check-heat-dsvm-functional
- check-devstack-dsvm-cells
- gate-rally-dsvm-fakevirt-heat
gate: