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:
parent
900922abd3
commit
b237ff8c29
@ -29,3 +29,42 @@
|
|||||||
publishers:
|
publishers:
|
||||||
- devstack-logs
|
- devstack-logs
|
||||||
- console-log
|
- 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
|
||||||
|
@ -682,6 +682,11 @@
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
- python-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
|
- python-havana-bitrot-jobs
|
||||||
- openstack-publish-jobs
|
- openstack-publish-jobs
|
||||||
- translation-jobs
|
- translation-jobs
|
||||||
|
@ -488,6 +488,9 @@ jobs:
|
|||||||
voting: false
|
voting: false
|
||||||
- name: ^(gate|check)-tempest-dsvm-neutron-heat-slow
|
- name: ^(gate|check)-tempest-dsvm-neutron-heat-slow
|
||||||
branch: ^(?!stable/havana).*$
|
branch: ^(?!stable/havana).*$
|
||||||
|
- name: check-heat-dsvm-functional
|
||||||
|
branch: ^(?!stable/(havana|icehouse)).*$
|
||||||
|
voting: false
|
||||||
- name: check-tempest-dsvm-ironic-nv
|
- name: check-tempest-dsvm-ironic-nv
|
||||||
voting: false
|
voting: false
|
||||||
- name: check-tempest-dsvm-ironic-postgres-nv
|
- name: check-tempest-dsvm-ironic-postgres-nv
|
||||||
@ -983,6 +986,7 @@ projects:
|
|||||||
- name: integrated-gate
|
- name: integrated-gate
|
||||||
- name: translation-jobs
|
- name: translation-jobs
|
||||||
check:
|
check:
|
||||||
|
- check-heat-dsvm-functional
|
||||||
- check-devstack-dsvm-cells
|
- check-devstack-dsvm-cells
|
||||||
- gate-rally-dsvm-fakevirt-heat
|
- gate-rally-dsvm-fakevirt-heat
|
||||||
gate:
|
gate:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user