03678429e4
Increase the Jenkins timeout by 5 minutes, and supply the intended timeout value to devstack-gate as an env variable. This will allow devstack-gate to timeout the gate job and have 5 minutes to copy logs. Change-Id: Iac0475e8c885274a3ff41adb4affb1499680a87e
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
- job:
|
|
name: gate-manila-devstack-dsvm
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 65
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
function pre_test_hook {
|
|
# Install Manila devstack integration
|
|
MANILA_BASE=/opt/stack/new/manila/contrib/devstack
|
|
DEVSTACK_BASE=/opt/stack/new/devstack
|
|
cp ${MANILA_BASE}/lib/* ${DEVSTACK_BASE}/lib
|
|
cp ${MANILA_BASE}/extras.d/* ${DEVSTACK_BASE}/extras.d
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
|
./safe-devstack-vm-gate-wrap.sh
|
|
- link-logs
|
|
|
|
publishers:
|
|
- devstack-logs
|
|
- console-log
|