project-config/jenkins/jobs/nova-docker.yaml
Andreas Jaeger 8627ad9551 Merge nova-docker tempest jobs
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
2016-12-08 19:27:15 +01:00

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