enable nova v20 compat testing jobs

Create 2 Nova v2.0 compatibility jobs. These will test, on Nova only,
that v2.0 on v2.1 and v2.0 on legacy v2.0 code pass all the Tempest
API tests.

Depends-On: Ie6b7e4290d9a1d9789d04099b3b31c9a557bc22b

devstack changes

and

Depends-On: I94b1305882598cc259a267dc8e954ab242baf7d1

which are Nova changes that setup the pipelines the way we expect

Change-Id: I86a627b8ec7b1246452a16c10dcfb1ad5f83bdef
This commit is contained in:
Sean Dague 2015-09-01 13:17:59 -04:00 committed by ghanshyam
parent b1ba058c72
commit 6d13f46abe
2 changed files with 76 additions and 0 deletions

View File

@ -549,6 +549,74 @@
- devstack-logs
- console-log
- job-template:
name: '{pipeline}-tempest-dsvm-nova-v20-api{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_LOCAL_CONFIG="TEMPEST_COMPUTE_TYPE=compute_legacy"
# only run compute API tests
export DEVSTACK_GATE_TEMPEST_REGEX="api.*compute"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
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-nova-v20-api-legacy{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
# 2 line vars are so much fun
export DEVSTACK_LOCAL_CONFIG="TEMPEST_COMPUTE_TYPE=compute_legacy"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"NOVA_V2_LEGACY=True"
# only run compute API tests
export DEVSTACK_GATE_TEMPEST_REGEX="api.*compute"
export BRANCH_OVERRIDE={branch-override}
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
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
# dsvm-updown builds up an devstack and shuts it down, this ensures
# that things like unstack.sh and clean.sh work correctly. This should
# only be run on the devstack tree.
@ -2390,6 +2458,8 @@
- '{pipeline}-tempest-dsvm-full-lio{branch-designator}'
- '{pipeline}-tempest-dsvm-nova-v21-full{branch-designator}'
- '{pipeline}-tempest-dsvm-nova-v21-neutron-full{branch-designator}'
- '{pipeline}-tempest-dsvm-nova-v20-api{branch-designator}'
- '{pipeline}-tempest-dsvm-nova-v20-api-legacy{branch-designator}'
- '{pipeline}-tempest-dsvm-nova-wsgi-full{branch-designator}'
- '{pipeline}-tempest-dsvm-trove{branch-designator}'
- '{pipeline}-grenade-dsvm-trove{branch-designator}'

View File

@ -1509,6 +1509,10 @@ jobs:
- name: ^gate-tempest-dsvm-nova-v21-full$
branch: ^(?!stable/juno).*$
- name: ^gate-tempest-dsvm-nova-v20
branch: ^(?!stable/(juno|kilo)).*$
voting: false
- name: ^gate-tempest-dsvm-nova-v21-neutron-full$
branch: ^(?!stable/juno).*$
voting: false
@ -2735,6 +2739,8 @@ projects:
- gate-grenade-dsvm-partial-ncpu
- gate-grenade-dsvm-ironic-sideways
- gate-tempest-dsvm-ironic-pxe_ipa-nv
- gate-tempest-dsvm-nova-v20-api
- gate-tempest-dsvm-nova-v20-api-legacy
- gate-tempest-dsvm-nova-v21-full
- gate-tempest-dsvm-nova-v21-neutron-full
- gate-tempest-dsvm-cells