
In jobs env var $BASE is used, it is empty for some reason See next: https://jenkins05.openstack.org/job/gate-manila-tempest-dsvm-neutron/99/console Set this env var manually to be sure of correct job run. Change-Id: I9af2972906e83ed7ed6a8f29f704042923779c91
81 lines
2.0 KiB
YAML
81 lines
2.0 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 BASE="/opt/stack"
|
|
|
|
# Run setup script with exports of env vars
|
|
$BASE/new/manila/contrib/ci/setup.sh
|
|
|
|
function pre_test_hook {
|
|
$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 BASE="/opt/stack"
|
|
|
|
# Run setup script with exports of env vars
|
|
$BASE/new/manila/contrib/ci/multi_backend/setup.sh
|
|
|
|
function pre_test_hook {
|
|
$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
|