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

47 lines
1.2 KiB
YAML

- job-template:
name: '{pipeline}-requirements-integration-dsvm'
node: '{node}'
wrappers:
- timeout:
timeout: 125
fail: true
- timestamps
builders:
- link-logs
- net-info
- devstack-checkout
- shell: |
#!/bin/bash -xe
export PYTHONUNBUFFERED=true
export DEVSTACK_GATE_TIMEOUT=120
export DEVSTACK_GATE_TEMPEST=0
export DEVSTACK_GATE_EXERCISES=0
export DEVSTACK_GATE_REQS_INTEGRATION=1
export PIP_PROCESS_DEPENDENCY_LINKS=1
function gate_hook {{
bash $BASE/new/devstack-gate/devstack-vm-gate.sh && \
bash -xe $BASE/new/pbr/tools/integration.sh $(cat $BASE/new/requirements/projects.txt)
}}
export -f gate_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
- job:
name: propose-requirements-updates
node: proposal
builders:
- link-logs
- net-info
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/propose_requirements_update.sh
publishers:
- console-log