dfab0962ad
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
36 lines
1.0 KiB
YAML
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
|