52051c9d67
Generally this area of the repo is organized by project, so rename the *-functional.yaml files to avoid the suggestion that each job needs its own file. Instead, name them for their projects to suggest that you can look in each project file to see the jobs that apply specifically to that project. Change-Id: I31e95a405c03c207e26f9a63403e1b7205595b7f
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
- job-template:
|
|
name: '{pipeline}-novaclient-dsvm-functional{branch-designator}'
|
|
node: '{node}'
|
|
|
|
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 BRANCH_OVERRIDE={branch-override}
|
|
export DEVSTACK_PROJECT_FROM_GIT=python-novaclient
|
|
if [ "$BRANCH_OVERRIDE" != "default" ] ; then
|
|
export OVERRIDE_ZUUL_BRANCH=$BRANCH_OVERRIDE
|
|
fi
|
|
|
|
function post_test_hook {{
|
|
# Configure and run functional tests
|
|
$BASE/new/python-novaclient/novaclient/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
|