Add gate-magnetodb-devstack job

Add an initial devstack job for the MagnetoDB project.
It just installs magnetodb's devstack integration and runs devstack.
That just ensures that the devstack integration doesn't blow up just
trying to start up the service(s). There's not much else to test yet,
but this is a starting point to build on.

Start this job out as non-voting so that we can make sure it works as
expected before turning it on to be gating.

Change-Id: Ie99a88b95b28cee9443b05fd091f9e4f590e4cfb
This commit is contained in:
Aleksey Chuprin 2014-03-21 10:14:34 +02:00
parent d34b1fa974
commit 24c87ed59c
2 changed files with 42 additions and 0 deletions

View File

@ -0,0 +1,39 @@
- job:
name: gate-magnetodb-devstack-dsvm
node: devstack-precise
wrappers:
- timeout:
timeout: 65
fail: true
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=60
export ENABLED_SERVICES=magnetodb,tempest
export PROJECTS="stackforge/magnetodb $PROJECTS"
function pre_test_hook {
cd /opt/stack/new/magnetodb/functionaltests
./pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
cd /opt/stack/new/magnetodb/functionaltests
./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:
- devstack-logs
- console-log

View File

@ -542,6 +542,8 @@ jobs:
voting: false
- name: gate-magnetodb-requirements
voting: false
- name: gate-magnetodb-devstack-dsvm
voting: false
- name: gate-mistral-python33
voting: false
- name: gate-mistral-extra-python33
@ -3637,6 +3639,7 @@ projects:
- gate-magnetodb-python27
- gate-magnetodb-docs
- gate-magnetodb-requirements
- gate-magnetodb-devstack-dsvm
gate:
- gate-magnetodb-pep8
- gate-magnetodb-python27