4fe91e20fa
Update the requirements-check job to run on repos other than the zuul.project, but keep that as the default. Add the job as a check and gate job to this repo, but targeting nova. This allows us to run the job on changes to its definition. Change-Id: I67b818cdff01d29c62497826d4b4e3387c74e9e9 Depends-On: https://review.opendev.org/c/openstack/requirements/+/934249
10 lines
578 B
YAML
10 lines
578 B
YAML
- name: Install openstack_requirements
|
|
command: "pip3 install --user {{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}"
|
|
|
|
- name: Run requirements check script
|
|
# Use command module here instead of script since Zuul gets output
|
|
# with command into job-output.txt file.
|
|
# Command expects the file to be at the remote system - the system
|
|
# running the tests. Ask zuul variables for the path.
|
|
command: "{{ zuul.projects['opendev.org/openstack/requirements'].src_dir }}/playbooks/files/project-requirements-change.py {{ zuul_work_dir }} {{ zuul_branch }}"
|