
The original idea was that we'd have a "python27" job. But it turns out that "python27" isn't actually as universal as you might think. "tox-py27" on the other hand is a thing that can and should always work for people who want to run tox with the py27 env. Port in the jobs we had in openstack-zuul-jobs. Also, copy in the text of the old shell scripts so that we can iterate on them and make them better piecemeal. These are named zuul-tox not tox because we already have tox jobs defined elsewhere. We'll need to do the naming dance while we work on them. Change-Id: I813f3f2ae138c07918556bc81655518023527131
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
|