system-config/modules/openstack_project/files/jenkins_job_builder/config/manila.yaml
Sergey Lukjanov ff9c90d903 Add manila repos to PROJECTS in d-g job
All repos that needed to be cloned during the d-g job should be added to
PROJECTS env var.

Change-Id: I5c3b77246cba5c30317be862abf4674df9d2bc94
2013-12-06 12:36:17 +04:00

36 lines
1.0 KiB
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
export PROJECTS="stackforge/manila $PROJECTS"
export PROJECTS="stackforge/python-manilaclient $PROJECTS"
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