[Manila] Add new experimental job

Manila project is going to test its APIs using dummy driver
that does not really provide resources and just simulates
share driver behaviour.

For this we need to have separate tempest job, without any other
OpenStack projects, just manila.
Therefore, add such, make it non-voting and experimental until
appropriate feature merged in manila and becomes stable.

Change-Id: Iea5d982c9c147a37c57db0cdab9dc305f4f8fa81
This commit is contained in:
vponomaryov 2016-06-10 18:48:44 +03:00
parent a303b62265
commit eef784eaae
3 changed files with 19 additions and 8 deletions

View File

@ -67,8 +67,8 @@
- devstack-logs
- console-log
- job:
name: 'gate-manila-tempest-minimal-dsvm-lvm'
- job-template:
name: 'gate-manila-tempest-minimal-dsvm-{driver}'
node: ubuntu-trusty
wrappers:
@ -77,6 +77,8 @@
- timestamps
builders:
- print-template-name:
template-name: "{template-name}"
- link-logs
- net-info
- devstack-checkout
@ -96,17 +98,17 @@
# Keep localrc to be able to set some vars in pre_test_hook
export KEEP_LOCALRC=1
function pre_test_hook {
function pre_test_hook {{
# 'dhss' - acronym for 'Driver Handles Share Servers',
# defines mode of a share driver. Boolean-like.
# 'driver' - codename of a share driver to configure.
# 'back_end_type' - defines which installation Manila should
# have - either 'singlebackend' or 'multibackend'.
source $BASE/new/manila/contrib/ci/pre_test_hook.sh False lvm multibackend
}
source $BASE/new/manila/contrib/ci/pre_test_hook.sh False {driver} multibackend
}}
export -f pre_test_hook
function post_test_hook {
function post_test_hook {{
# 'back_end_type' - defines which installation Manila is
# configured to - either 'singlebackend' or 'multibackend'.
# 'driver' - codename of a share driver that is configured in
@ -116,8 +118,8 @@
# can have 'api' and 'scenario' values.
# 'postgres_enabled' - set of test suites depends on DB backend
# in some cases, so it is provided explicitely. Boolean-like.
source $BASE/new/manila/contrib/ci/post_test_hook.sh multibackend lvm api False
}
source $BASE/new/manila/contrib/ci/post_test_hook.sh multibackend {driver} api False
}}
export -f post_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh

View File

@ -3196,6 +3196,10 @@
- '{pipeline}-grenade-dsvm-manila':
pipeline: 'gate'
branch-override: default
- 'gate-manila-tempest-minimal-dsvm-{driver}':
driver: 'lvm'
- 'gate-manila-tempest-minimal-dsvm-{driver}':
driver: 'dummy'
- 'gate-manila-tempest-dsvm-{description}':
description: postgres-generic-singlebackend
postgres_enabled: '1'

View File

@ -2223,6 +2223,10 @@ jobs:
- name: gate-manila-tempest-minimal-dsvm-lvm
branch: ^(?!stable/(?:kilo|liberty)).*$
- name: gate-manila-tempest-minimal-dsvm-dummy
branch: ^(?!stable/(?:liberty|mitaka)).*$
voting: false
- name: gate-tempest-dsvm-full-amqp1
voting: false
@ -7350,6 +7354,7 @@ projects:
post:
- manila-coverage-db
experimental:
- gate-manila-tempest-minimal-dsvm-dummy
- gate-rally-dsvm-manila-multibackend
- gate-rally-dsvm-manila-multibackend-no-ss
- gate-manila-tempest-dsvm-postgres-container