Add a check for nova-docker
Runs some simple ci for the nova docker driver. The test itself simply sets up nova-docker with devstack and then spins up an instance. Once this is functional a more comprehensive test can be added. Change-Id: I63cbe6161dd04b561c27aa5649359f152f44f608
This commit is contained in:
parent
3f86755f3e
commit
3cf00da936
@ -0,0 +1,45 @@
|
|||||||
|
- job:
|
||||||
|
name: 'check-nova-docker-dsvm-f20'
|
||||||
|
node: 'devstack-f20'
|
||||||
|
|
||||||
|
wrappers:
|
||||||
|
- timeout:
|
||||||
|
timeout: 65
|
||||||
|
fail: true
|
||||||
|
- timestamps
|
||||||
|
|
||||||
|
builders:
|
||||||
|
- link-logs
|
||||||
|
- net-info
|
||||||
|
- devstack-checkout
|
||||||
|
- shell: |
|
||||||
|
#!/bin/bash -xe
|
||||||
|
function gate_hook {
|
||||||
|
$BASE/new/nova-docker/contrib/devstack/gate_hook.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
function post_test_hook {
|
||||||
|
$BASE/new/nova-docker/contrib/devstack/post_test_hook.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
export -f gate_hook
|
||||||
|
export -f post_test_hook
|
||||||
|
|
||||||
|
export PYTHONUNBUFFERED=true
|
||||||
|
export DEVSTACK_GATE_TIMEOUT=60
|
||||||
|
export DEVSTACK_GATE_TEMPEST=0
|
||||||
|
export DEVSTACK_GATE_TEMPEST_FULL=0
|
||||||
|
export RE_EXEC=false
|
||||||
|
export PROJECTS="stackforge/nova-docker $PROJECTS"
|
||||||
|
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
|
||||||
|
./safe-devstack-vm-gate-wrap.sh
|
||||||
|
|
||||||
|
publishers:
|
||||||
|
- scp:
|
||||||
|
site: 'static.openstack.org'
|
||||||
|
files:
|
||||||
|
- target: 'logs/$LOG_PATH'
|
||||||
|
source: 'logs/**'
|
||||||
|
keep-hierarchy: false
|
||||||
|
copy-after-failure: true
|
||||||
|
- console-log
|
@ -536,6 +536,8 @@ jobs:
|
|||||||
voting: false
|
voting: false
|
||||||
- name: gate-oslo-incubator-python33
|
- name: gate-oslo-incubator-python33
|
||||||
branch: ^(?!stable/havana).*$
|
branch: ^(?!stable/havana).*$
|
||||||
|
- name: check-nova-docker-dsvm-f20
|
||||||
|
voting: false
|
||||||
- name: check-neutron-dsvm-functional
|
- name: check-neutron-dsvm-functional
|
||||||
branch: ^(?!stable/havana).*$
|
branch: ^(?!stable/havana).*$
|
||||||
voting: false
|
voting: false
|
||||||
@ -948,6 +950,8 @@ projects:
|
|||||||
template:
|
template:
|
||||||
- name: python-jobs
|
- name: python-jobs
|
||||||
- name: check-requirements
|
- name: check-requirements
|
||||||
|
check:
|
||||||
|
- check-nova-docker-dsvm-f20
|
||||||
|
|
||||||
- name: openstack/pycadf
|
- name: openstack/pycadf
|
||||||
template:
|
template:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user