project-config/jenkins/jobs/cinder.yaml
Andreas Jaeger 9e8c66a93a Increase devstack timeout
Increase devstack wrapper timeout by 5 mins since devstack-gate will use
10 mins - instead of the previous 5 mins - as buffer.

This is needed in this form only for those jobs changed by
21837612a5.

Change-Id: Ida6e84f6c9458d46b7c3792bf57eff27dd72b258
Needed-By: Iea866e4cc40e149e598f35e010ec855937bdf9ae
2016-02-07 09:16:13 +01:00

68 lines
1.9 KiB
YAML

- job-template:
name: '{pipeline}-cinderclient-dsvm-functional{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 70
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export BRANCH_OVERRIDE={branch-override}
export PROJECTS="openstack/python-cinderclient $PROJECTS"
export DEVSTACK_PROJECT_FROM_GIT=python-cinderclient
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
fi
function post_test_hook {{
# Configure and run functional tests
$BASE/new/python-cinderclient/cinderclient/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
- job-template:
name: '{pipeline}-cinder-dsvm-apache{job-suffix}'
node: '{node}'
wrappers:
- build-timeout:
timeout: 130
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TEMPEST=1
export DEVSTACK_GATE_TEMPEST_FULL=1
export DEVSTACK_LOCAL_CONFIG="CINDER_USE_MOD_WSGI=True"
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:
- test-results
- devstack-logs
- console-log