requirements/playbooks/requirements-check.yaml
Matthew Thode 51f376c776
switch to zuul.projects from zuul._projects
Change-Id: I9f5b68e1a6f15957382deb29bc6e6bb462b86b34
2017-12-10 23:32:39 -06:00

9 lines
498 B
YAML

- hosts: all
tasks:
- 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['git.openstack.org/openstack/requirements'].src_dir }}/playbooks/files/project-requirements-change.py {{ zuul.project.src_dir }} {{ zuul.branch }}"