
Before we revoke sudo, we need to run bindep in the project. Add the run-bindep role. Copy the content of the jenkins script for now. This way we can iterate on the content in smaller chunks. Change-Id: Ib893b06d05039af078e6eea22e882f6f1efae226
13 lines
319 B
YAML
13 lines
319 B
YAML
- name: Check if project's tools/test-setup.sh exists
|
|
stat:
|
|
path: "src/{{ zuul.project.canonical_name }}/tools/test-setup.sh"
|
|
register: p
|
|
|
|
- name: Run tools/test-setup.sh
|
|
shell: tools/test-setup.sh
|
|
args:
|
|
chdir: "src/{{ zuul.project.canonical_name }}"
|
|
when:
|
|
- p.stat.exists
|
|
- p.stat.executable
|