requirements/.zuul.d/project-template.yaml
Doug Hellmann 3c19d7c090 trigger requirements-check if the lower-constraints.txt file changes
If projects have a lower-constraints.txt file, we want to ensure the
new rules apply when a patch tries to change it.

Change-Id: Id4de1d810f4fbc1dd66a906b3cf74789a1774706
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2018-03-29 12:58:57 -04:00

23 lines
518 B
YAML

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