system-config/modules/openstack_project/files/jenkins_job_builder/config/climate.yaml
Sergey Lukjanov dfab0962ad Add gate-climate-devstack-dsvm
Initial non-voting devstack gate job for the stackforge project Climate.
The main purpose of this job is to test devstack integration before
adding testing to it.

Implements blueprint climate-devstack-gating

Change-Id: Ifa76365d849b51926422d3d85902a8a4a4fc250e
2013-12-06 12:32:28 +04:00

36 lines
1.0 KiB
YAML

- job:
name: gate-climate-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=climate
export PROJECTS="stackforge/climate $PROJECTS"
export PROJECTS="stackforge/python-climateclient $PROJECTS"
function pre_test_hook {
# Install climate devstack integration
CLIMATE_BASE=/opt/stack/new/climate/contrib/devstack
DEVSTACK_BASE=/opt/stack/new/devstack
cp $CLIMATE_BASE/lib/* $DEVSTACK_BASE/lib
cp $CLIMATE_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