
Script 'contrib/ci/setup.sh' from manila does not exist in place on call moment. Moved call of this file to proper place. Change-Id: I5a3e5352b13f08d9bb5dee6c201d2957b2192d60
83 lines
2.3 KiB
YAML
83 lines
2.3 KiB
YAML
- job:
|
|
name: gate-manila-tempest-dsvm-neutron
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 65
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
function pre_test_hook {
|
|
# Run setup script with exports of env vars
|
|
$BASE/new/manila/contrib/ci/setup.sh
|
|
$BASE/new/manila/contrib/ci/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
$BASE/new/manila/contrib/ci/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:
|
|
- devstack-logs
|
|
- console-log
|
|
|
|
|
|
- job:
|
|
name: gate-manila-tempest-dsvm-neutron-multibackend
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 65
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch,tempest
|
|
export PROJECTS="stackforge/manila $PROJECTS"
|
|
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
|
|
|
|
function pre_test_hook {
|
|
# Run setup script with exports of env vars
|
|
$BASE/new/manila/contrib/ci/multi_backend/setup.sh
|
|
$BASE/new/manila/contrib/ci/multi_backend/pre_test_hook.sh
|
|
}
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {
|
|
$BASE/new/manila/contrib/ci/multi_backend/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:
|
|
- devstack-logs
|
|
- console-log
|