system-config/modules/openstack_project/files/jenkins_job_builder/config/requirements.yaml
Jeremy Stanley 6e2be77890 Process dependency links in reqs integration job
* .../requirements.yaml: Add the PIP_PROCESS_DEPENDENCY_LINKS
environment variable as a backward-compatible alternative to
--process-dependency-links, which causes new pip deal with -f urls
in the requirements lists.

Change-Id: Ia42290e4abda284103ee864903aa4857a5f65fa6
2014-01-15 02:58:48 +00:00

46 lines
1.2 KiB
YAML

- job-template:
name: '{pipeline}-requirements-integration-dsvm'
node: '{node}'
wrappers:
- timeout:
timeout: 125
fail: true
- timestamps
builders:
- 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 $PROJECTS
}}
export -f gate_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
- job:
name: propose-requirements-updates
node: proposal
concurrent: false
builders:
- gerrit-git-prep
- shell: /usr/local/jenkins/slave_scripts/propose_requirements_update.sh
- link-logs
publishers:
- console-log