system-config/modules/openstack_project/files/jenkins_job_builder/config/solum.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

40 lines
1009 B
YAML

- job:
name: gate-solum-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=solum,solum-api,solum-build-api,tempest
export PROJECTS="stackforge/solum"
function pre_test_hook {
cd /opt/stack/new/solum/functionaltests
./pre_test_hook.sh
}
export -f pre_test_hook
function post_test_hook {
cd /opt/stack/new/solum/functionaltests
./post_test_hook.sh
}
export -f post_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