system-config/modules/openstack_project/files/jenkins_job_builder/config/climate.yaml
Jeremy Stanley 55370a54ab Add a net-info job builder macro
To assist in troubleshooting a variety of otherwise hard-to-diagnose
failure modes, add a builder macro to jobs so that we will be able
to see their interface addresses, routing table entries and network
neighbors.

Change-Id: I256c31312fa97dbc3aa44732cae99d066b57d223
2014-03-19 00:06:03 +00:00

39 lines
1.2 KiB
YAML

- job:
name: gate-climate-devstack-dsvm
node: devstack-precise
wrappers:
- timeout:
timeout: 65
fail: true
- timestamps
builders:
- link-logs
- net-info
- 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
publishers:
- devstack-logs
- console-log