requirements/.zuul.yaml
Monty Taylor 4054ec9fb8
Run check-requirements in the directory of the change
The script assumes it's being run in the directory containing the
proposed change, so we should chdir there. While we're at it, collapse
this to use the 'script' module which copies a script and executes it.

Change-Id: I43ed49d523c3131aad6c892c78fd95aba65c30fe
2017-10-10 13:50:13 -05:00

25 lines
641 B
YAML

- project-template:
name: check-requirements
check:
jobs:
- requirements-check:
files:
- ^tools/.*-requires$
- ^.*requirements.txt$
- ^.*requirements-py[2,3].txt$
- playbooks/requirements-check.yaml
gate:
jobs:
- requirements-check:
files:
- ^tools/.*-requires$
- ^.*requirements.txt$
- ^.*requirements-py[2,3].txt$
- playbooks/requirements-check.yaml
- job:
name: requirements-check
parent: unittests
required-projects:
- openstack/requirements