
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
25 lines
641 B
YAML
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
|