2015-04-28 17:48:03 +01:00
|
|
|
- job-template:
|
2015-10-24 19:03:27 +02:00
|
|
|
name: '{pipeline}-glanceclient-dsvm-functional{job-suffix}'
|
2015-04-28 17:48:03 +01:00
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 10:08:54 +01:00
|
|
|
timeout: 70
|
2015-04-28 17:48:03 +01:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
2015-10-13 18:27:23 -07:00
|
|
|
export PROJECTS="openstack/python-glanceclient $PROJECTS"
|
2015-04-28 17:48:03 +01:00
|
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-glanceclient
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
|
|
|
function post_test_hook {{
|
|
|
|
# Configure and run functional tests
|
|
|
|
$BASE/new/python-glanceclient/glanceclient/tests/functional/hooks/post_test_hook.sh
|
|
|
|
}}
|
|
|
|
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
|
2015-05-11 18:42:55 +01:00
|
|
|
|
|
|
|
- job-template:
|
|
|
|
name: '{pipeline}-glance_store-dsvm-functional-{driver}'
|
|
|
|
node: '{node}'
|
|
|
|
|
|
|
|
wrappers:
|
|
|
|
- build-timeout:
|
2016-02-06 10:08:54 +01:00
|
|
|
timeout: 70
|
2015-05-11 18:42:55 +01:00
|
|
|
- timestamps
|
|
|
|
|
|
|
|
builders:
|
|
|
|
- link-logs
|
|
|
|
- net-info
|
|
|
|
- devstack-checkout
|
|
|
|
- shell: |
|
|
|
|
#!/bin/bash -xe
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
|
|
export BRANCH_OVERRIDE={branch-override}
|
2016-04-15 14:49:45 +00:00
|
|
|
export PROJECTS="openstack/glance_store $PROJECTS"
|
2015-05-11 18:42:55 +01:00
|
|
|
export DEVSTACK_PROJECT_FROM_GIT=glance_store
|
|
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
|
|
fi
|
|
|
|
|
|
|
|
function gate_hook {{
|
2016-04-13 16:19:09 +00:00
|
|
|
cd $BASE/new/glance_store/glance_store/tests/functional/hooks
|
2015-05-11 18:42:55 +01:00
|
|
|
./gate_hook.sh {driver}
|
|
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
|
|
|
|
function post_test_hook {{
|
2016-04-13 16:19:09 +00:00
|
|
|
cd $BASE/new/glance_store/glance_store/tests/functional/hooks
|
2015-05-11 18:42:55 +01:00
|
|
|
./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
|