system-config/modules/openstack_project/files/jenkins_job_builder/config/magnetodb.yaml
Aleksey Chuprin 24c87ed59c 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
2014-03-22 13:18:47 +02:00

40 lines
1013 B
YAML

- 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