Add 2 node experimental job to d-g

The d-g will know he needs the setup more nodes,
when the DEVSTACK_GATE_TOPOLOGY is set and it's value
is not 'aio' `all in one`. Jobs for nova network and neutron
are added.

devstack-precise-2-node replaced with devstack-trusy-2-node.

Change-Id: Ib7dfd93f95195505a911fbe56a4c65b4a7719328
This commit is contained in:
Attila Fazekas 2014-07-08 19:19:19 +02:00 committed by Clark Boylan
parent 1df52ccda8
commit 9d375137a6
5 changed files with 93 additions and 2 deletions

View File

@ -1240,6 +1240,73 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-{topology}{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_GATE_TEMPEST=1
export DEVSTACK_GATE_FULL=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY={topology}
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
- job-template:
name: '{pipeline}-tempest-dsvm-neutron-{topology}{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_GATE_TEMPEST=1
export DEVSTACK_GATE_FULL=1
export DEVSTACK_GATE_NEUTRON=1
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
export DEVSTACK_GATE_TOPOLOGY={topology}
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
- job:
name: gate-devstack-gate-unittests
node: 'bare-precise || bare-trusty'

View File

@ -1531,6 +1531,18 @@
# Special jobs for devstack-gate
- devstack-gate-jobs:
node: 'devstack-precise || devstack-trusty'
- '{pipeline}-tempest-dsvm-{topology}{branch-designator}':
pipeline: check
node: devstack-trusty-2-node
branch-designator: ''
branch-override: default
topology: aiopcpu
- '{pipeline}-tempest-dsvm-neutron-{topology}{branch-designator}':
pipeline: check
node: devstack-trusty-2-node
branch-designator: ''
branch-override: default
topology: aiopcpu
- project:

View File

@ -374,6 +374,10 @@ project-templates:
jobs:
- name: ^.*$
parameter-function: set_node_options_default_precise
- name: ^.*tempest-dsvm-aiopcpu.*$
parameter-function: set_node_options_default_trusty
- name: ^.*tempest-dsvm-neutron-aiopcpu.*$
parameter-function: set_node_options_default_trusty
# Pecan ceilometer tests need new mongodb available in trusty
- name: ^gate-pecan-tox-ceilometer-.*$
parameter-function: set_node_options_default_trusty
@ -492,6 +496,10 @@ jobs:
voting: false
- name: check-tempest-dsvm-f20
voting: false
- name: check-tempest-dsvm-aiopcpu
voting: false
- name: check-tempest-dsvm-neutron-aiopcpu
voting: false
- name: gate-designate-devstack-dsvm
branch: ^(?!stable/(?:havana|icehouse)).*$
# For Gerrit ver 2.4.x (using maven)
@ -2663,6 +2671,8 @@ projects:
- check-tempest-master-dsvm-full-havana
- check-tempest-master-dsvm-neutron-havana
- check-tempest-dsvm-f20
- check-tempest-dsvm-aiopcpu
- check-tempest-dsvm-neutron-aiopcpu
experimental-tripleo:
- check-tripleo-ironic-seed-precise
- check-tripleo-undercloud-precise

View File

@ -49,6 +49,8 @@ def devstack_params(item, job, params):
'icehouse' in job.name or
'precise' in job.name)):
params['ZUUL_NODE'] = 'devstack-precise'
elif 'aiopcpu' in job.name:
params['ZUUL_NODE'] = 'devstack-trusty-2-node'
else:
params['ZUUL_NODE'] = 'devstack-trusty'

View File

@ -101,8 +101,8 @@ labels:
min-ready: 1
providers:
- name: rax-dfw
- name: devstack-precise-2-node
image: devstack-precise
- name: devstack-trusty-2-node
image: devstack-trusty
ready-script: multinode_setup.sh
subnodes: 1
min-ready: 1