8627ad9551
gate-tempest-dsvm-docker-centos7-nv is a duplicate of gate-tempest-dsvm-docker-{node}-nv template, remove the duplicate and use the template instead. Change-Id: I9c181924b3f0a8e0b9a7aab598650ff1ab826b7d
47 lines
1.2 KiB
YAML
47 lines
1.2 KiB
YAML
- job-template:
|
|
name: 'gate-tempest-dsvm-docker-{node}-nv'
|
|
node: '{node}'
|
|
|
|
wrappers:
|
|
- build-timeout:
|
|
timeout: 70
|
|
- timestamps
|
|
|
|
builders:
|
|
- link-logs
|
|
- net-info
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
function gate_hook {{
|
|
$BASE/new/nova-docker/contrib/devstack/gate_hook.sh
|
|
}}
|
|
|
|
export -f gate_hook
|
|
|
|
function pre_test_hook {{
|
|
if [ -f $BASE/new/nova-docker/contrib/devstack/pre_test_hook.sh ] ; then
|
|
$BASE/new/nova-docker/contrib/devstack/pre_test_hook.sh
|
|
fi
|
|
}}
|
|
|
|
export -f pre_test_hook
|
|
|
|
function post_test_hook {{
|
|
if [ -f $BASE/new/nova-docker/contrib/devstack/post_test_hook.sh ] ; then
|
|
$BASE/new/nova-docker/contrib/devstack/post_test_hook.sh
|
|
fi
|
|
}}
|
|
|
|
export -f post_test_hook
|
|
|
|
export PYTHONUNBUFFERED=true
|
|
export PROJECTS="openstack/nova-docker $PROJECTS"
|
|
|
|
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
|