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:
parent
fea1e99afd
commit
d4de7db8f1
@ -34,3 +34,46 @@
|
||||
- test-results
|
||||
- devstack-logs
|
||||
- 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
|
||||
|
@ -170,6 +170,12 @@
|
||||
- pypi-jobs
|
||||
- translation-jobs
|
||||
- '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:
|
||||
name: gnocchi
|
||||
|
@ -1203,6 +1203,12 @@ jobs:
|
||||
- name: ^(gate|check)-glanceclient-dsvm-functional
|
||||
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
|
||||
voting: false
|
||||
|
||||
@ -1587,6 +1593,8 @@ projects:
|
||||
- name: publish-to-pypi
|
||||
- name: lib-forward-testing
|
||||
- name: experimental-tripleo-jobs
|
||||
experimental:
|
||||
- gate-glance_store-dsvm-functional-filesystem
|
||||
|
||||
- name: openstack/gnocchi
|
||||
template:
|
||||
|
Loading…
Reference in New Issue
Block a user