f7091d1852
Added climate-a and climate-m to the ENABLED_SEVICES variables. Change-Id: I0dbc217805541f3ea3144595a8fb8ad5e77b5109 Implements: blueprint climate-devstack-gating
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
- job:
|
|
name: gate-climate-devstack-dsvm
|
|
node: devstack-precise
|
|
|
|
wrappers:
|
|
- timeout:
|
|
timeout: 65
|
|
fail: true
|
|
- timestamps
|
|
|
|
builders:
|
|
- devstack-checkout
|
|
- shell: |
|
|
#!/bin/bash -xe
|
|
export PYTHONUNBUFFERED=true
|
|
export DEVSTACK_GATE_TIMEOUT=60
|
|
export ENABLED_SERVICES=climate,climate-a,climate-m
|
|
export PROJECTS="stackforge/climate $PROJECTS"
|
|
export PROJECTS="stackforge/climate-nova $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
|