system-config/modules/openstack_project/files/jenkins_job_builder/config/manila.yaml
Valeriy Ponomaryov d8e38615cd Add gate-manila-devstack job
Add an initial devstack job for the stackforge project, manila.
It just installs manila'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).

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: I7fde5a3d456a66404e86e7ead7e51038a291f039
2013-12-04 12:09:36 +02:00

34 lines
929 B
YAML

- job:
name: gate-manila-devstack-dsvm
node: devstack-precise
wrappers:
- timeout:
timeout: 60
fail: true
- timestamps
builders:
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export ENABLED_SERVICES=manila,m-api,m-shr,m-sch
function pre_test_hook {
# Install Manila devstack integration
MANILA_BASE=/opt/stack/new/manila/contrib/devstack
DEVSTACK_BASE=/opt/stack/new/devstack
cp ${MANILA_BASE}/lib/* ${DEVSTACK_BASE}/lib
cp ${MANILA_BASE}/extras.d/* ${DEVSTACK_BASE}/extras.d
}
export -f pre_test_hook
cp devstack-gate/devstack-vm-gate-wrap.sh ./safe-devstack-vm-gate-wrap.sh
./safe-devstack-vm-gate-wrap.sh
- link-logs
publishers:
- devstack-logs
- console-log