project-config/jenkins/jobs/nova-docker.yaml
Paul Belanger 4856c297e1 Move gate-tempest-dsvm-docker-centos7 to centos-7
This is part of the effort to replace devstack-centos7 with centos-7
dibs.

Change-Id: I5b7b1fe33bf07e3a2a4555f3eddd6ba6efa0fdb2
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2016-03-31 13:55:52 -04:00

93 lines
2.4 KiB
YAML

- job:
name: gate-tempest-dsvm-docker
node: ubuntu-trusty
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
- job:
name: gate-tempest-dsvm-docker-centos7
node: centos-7
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