blob: da4259e01149b51c2ab1a6302bc47d1be91e8504 [file] [log] [blame]
Paul Belanger989b03c2017-03-21 08:20:12 -04001---
Paul Belanger01be2d62017-03-03 14:49:17 -05002- name: Check if projects tools/test-setup.sh exists.
Paul Belanger989b03c2017-03-21 08:20:12 -04003 stat:
Paul Belanger01be2d62017-03-03 14:49:17 -05004 path: "{{ zuul_workspace_root }}/src/{{ zuul.project }}/tools/test-setup.sh"
Paul Belanger989b03c2017-03-21 08:20:12 -04005 register: p
6
7- name: Run tools/test-setup.sh.
8 shell: tools/test-setup.sh
9 args:
Paul Belanger01be2d62017-03-03 14:49:17 -050010 chdir: "{{ zuul_workspace_root }}/src/{{ zuul.project }}"
Paul Belanger989b03c2017-03-21 08:20:12 -040011 when:
12 - p.stat.exists
13 - p.stat.executable