Merge "Add experimental scenario dsvm jobs for Sahara"

This commit is contained in:
Jenkins 2015-08-17 05:37:53 +00:00 committed by Gerrit Code Review
commit a688f1e0f5
3 changed files with 89 additions and 1 deletions

View File

@ -1091,7 +1091,34 @@
node: 'devstack-trusty' node: 'devstack-trusty'
branch-designator: '' branch-designator: ''
branch-override: default branch-override: default
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: neutron
engine: heat
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: nova
engine: heat
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: neutron
engine: direct
- '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}':
pipeline: gate
node: 'devstack-trusty'
branch-designator: ''
branch-override: default
network: nova
engine: direct
- project: - project:

View File

@ -184,3 +184,55 @@
publishers: publishers:
- devstack-logs - devstack-logs
- console-log - console-log
- job-template:
name: '{pipeline}-sahara-dsvm-scenario-{network}-{engine}{branch-designator}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 125
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_LOCAL_CONFIG="enable_plugin sahara git://git.openstack.org/openstack/sahara"
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_INSTALL_TESTONLY=1
export KEEP_LOCALRC=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
if [ "{network}" == "neutron" ] ; then
export DEVSTACK_GATE_NEUTRON=1
fi
function pre_test_hook {{
cd /opt/stack/new/sahara/tools/gate/scenario
./pre_test_hook.sh {network} {engine}
}}
export -f pre_test_hook
function post_test_hook {{
cd /opt/stack/new/sahara/tools/gate/scenario
./post_test_hook.sh {network} {engine}
}}
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

@ -1067,6 +1067,10 @@ jobs:
branch: ^(?!stable/(icehouse|juno|kilo)).*$ branch: ^(?!stable/(icehouse|juno|kilo)).*$
voting: false voting: false
- name: ^gate-sahara-dsvm-scenario.*$
branch: ^(?!stable/(icehouse|juno|kilo)).*$
voting: false
- name: gate-kite-python34 - name: gate-kite-python34
voting: false voting: false
@ -2754,6 +2758,11 @@ projects:
- gate-sahara-tox-py27-scenario-unit - gate-sahara-tox-py27-scenario-unit
post: post:
- sahara-coverage - sahara-coverage
experimental:
- gate-sahara-dsvm-scenario-neutron-heat
- gate-sahara-dsvm-scenario-nova-heat
- gate-sahara-dsvm-scenario-neutron-direct
- gate-sahara-dsvm-scenario-nova-direct
- name: openstack/sahara-specs - name: openstack/sahara-specs
template: template: