fd4d79542e
This change configures all jobs to use the new build-timeout macro. This macro enables the following: 1. exports a 'BUILD_TIMEOUT' environment variable which is set to the timeout value. 2. sets the build to a failed state when a timeout occurs. Change-Id: Iebda7cccc2f808805a9b2d744c11892d1bf3bdef
87 lines
2.6 KiB
YAML
87 lines
2.6 KiB
YAML
- job:
|
|
name: gate-manila-tempest-dsvm-neutron
|
|
node: 'devstack-precise || devstack-trusty'
|
|
|
|
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 DEVSTACK_GATE_NEUTRON=1
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
# Keep localrc to be able to set some vars in pre_test_hook
|
|
export KEEP_LOCALRC=1
|
|
|
|
function pre_test_hook {
|
|
source $BASE/new/manila/contrib/ci/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
# Configure and run tempest on singlebackend manila installation
|
|
source $BASE/new/manila/contrib/ci/post_test_hook.sh singlebackend
|
|
}
|
|
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:
|
|
- devstack-logs
|
|
- console-log
|
|
|
|
|
|
- job:
|
|
name: gate-manila-tempest-dsvm-neutron-multibackend
|
|
node: 'devstack-precise || devstack-trusty'
|
|
|
|
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 DEVSTACK_GATE_NEUTRON=1
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
# Keep localrc to be able to set some vars in pre_test_hook
|
|
export KEEP_LOCALRC=1
|
|
|
|
function pre_test_hook {
|
|
source $BASE/new/manila/contrib/ci/multi_backend/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
# Configure and run tempest on singlebackend manila installation
|
|
source $BASE/new/manila/contrib/ci/multi_backend/post_test_hook.sh multibackend
|
|
}
|
|
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:
|
|
- devstack-logs
|
|
- console-log
|