Add experimental glance_store functional test job

This adds a test job to run glance_store functional tests with the
filesystem driver. After this is up and running, jobs will be added for
each driver we want to functionally test as they become ready.

Change-Id: Ie4d06a6e2713f8d5b12582b2963271f10970672e
This commit is contained in:
Louis Taylor 2015-05-11 18:42:55 +01:00
parent fea1e99afd
commit d4de7db8f1
3 changed files with 57 additions and 0 deletions

View File

@ -34,3 +34,46 @@
- test-results - test-results
- devstack-logs - devstack-logs
- console-log - console-log
- job-template:
name: '{pipeline}-glance_store-dsvm-functional-{driver}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 65
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export BRANCH_OVERRIDE={branch-override}
export DEVSTACK_PROJECT_FROM_GIT=glance_store
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function gate_hook {{
cd $BASE/new/glance_store/glance_store/tests/functional/gate
./gate_hook.sh {driver}
}}
export -f gate_hook
function post_test_hook {{
cd $BASE/new/glance_store/glance_store/tests/functional/gate
./post_test_hook.sh {driver}
}}
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:
- test-results
- devstack-logs
- console-log

View File

@ -170,6 +170,12 @@
- pypi-jobs - pypi-jobs
- translation-jobs - translation-jobs
- 'lib-forward-testing-{name}' - 'lib-forward-testing-{name}'
- '{pipeline}-glance_store-dsvm-functional-{driver}':
driver: filesystem
pipeline: gate
node: 'devstack-precise || devstack-trusty'
branch-designator: ''
branch-override: default
- project: - project:
name: gnocchi name: gnocchi

View File

@ -1203,6 +1203,12 @@ jobs:
- name: ^(gate|check)-glanceclient-dsvm-functional - name: ^(gate|check)-glanceclient-dsvm-functional
branch: ^(?!stable/kilo).*$ branch: ^(?!stable/kilo).*$
# TODO(kragniz): Enable voting for each driver when the jobs are
# functioning for that driver
- name: ^(gate|check)-glance_store-dsvm-functional.*$
branch: ^(?!stable/kilo).*$
voting: false
- name: gate-kolla-bashate - name: gate-kolla-bashate
voting: false voting: false
@ -1587,6 +1593,8 @@ projects:
- name: publish-to-pypi - name: publish-to-pypi
- name: lib-forward-testing - name: lib-forward-testing
- name: experimental-tripleo-jobs - name: experimental-tripleo-jobs
experimental:
- gate-glance_store-dsvm-functional-filesystem
- name: openstack/gnocchi - name: openstack/gnocchi
template: template: