Migrating solum gate to F20

Solum is currently not compatible with Trusty's rabbitmq. While solum
debugs this run their devstack tests on Fedora 20 and run the test on
Trusty as non voting so that the issue can be debugged.

Change-Id: I5b9454c0e22e9a07492dacb0ce8c17b9584dcae5
This commit is contained in:
James Li 2014-05-22 14:53:27 -05:00 committed by Clark Boylan
parent 3ab56f5a1e
commit 0261154199
3 changed files with 52 additions and 2 deletions

View File

@ -1,5 +1,5 @@
- job:
name: gate-solum-devstack-dsvm
name: 'gate-solum-devstack-dsvm'
node: 'devstack-precise || devstack-trusty'
wrappers:
@ -39,3 +39,45 @@
publishers:
- devstack-logs
- console-log
- job:
name: 'gate-solum-devstack-dsvm-f20'
node: 'devstack-f20'
wrappers:
- timeout:
timeout: 65
fail: true
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export DEVSTACK_GATE_NEUTRON=1
export KEEP_LOCALRC=1
export ENABLED_SERVICES=solum,solum-api,solum-build-api,solum-conductor,solum-deployer,solum-worker,tempest
export PROJECTS="stackforge/solum $PROJECTS"
function pre_test_hook {
cd /opt/stack/new/solum/functionaltests
./pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
cd /opt/stack/new/solum/functionaltests
./post_test_hook.sh
}
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

@ -590,6 +590,8 @@ jobs:
voting: false
- name: gate-solum-python33
voting: false
- name: gate-solum-devstack-dsvm
voting: false
- name: gate-reviewstats-python33
voting: false
- name: gate-refstack-python33
@ -4488,9 +4490,10 @@ projects:
- gate-solum-python33
- gate-solum-pypy
- gate-solum-devstack-dsvm
- gate-solum-devstack-dsvm-f20
gate:
- gate-solum-pypy
- gate-solum-devstack-dsvm
- gate-solum-devstack-dsvm-f20
pre-release:
- solum-tarball
release:

View File

@ -88,6 +88,7 @@ def set_node_options(item, job, params, default):
mirror_re = r'^(periodic|post)-mirror-python(26|27|33)$'
python26_re = r'^.*-py(thon)?26.*$'
centos6_re = r'^.*-centos6.*$'
f20_re = r'^.*-f20.*$'
python33_re = r'^.*-py(py|(thon)?33).*$'
tripleo_re = r'^.*-tripleo.*$'
devstack_re = r'^.*-dsvm.*$'
@ -105,6 +106,10 @@ def set_node_options(item, job, params, default):
elif re.match(centos6_re, job.name):
# Pass because job specified label is always correct.
pass
# Jobs needing fedora 20
elif re.match(f20_re, job.name):
# Pass because job specified label is always correct.
pass
# Jobs needing py33/pypy slaves
elif re.match(python33_re, job.name):
# Pass because job specified label is always correct.