zuul-jobs/playbooks/unittests/post.yaml
Monty Taylor 4b9fc09a1c
Port in tox jobs from openstack-zuul-jobs
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
2017-07-06 11:18:47 -05:00

13 lines
351 B
YAML

- hosts: all
tasks::
- name: Collect test-results
synchronize:
dest: "{{ zuul.executor.log_root }}"
mode: pull
rsync_opts:
- "--ignore-missing-args"
src: "src/{{ zuul.project.canonical_name }}/{{ item }}"
with_items:
- "*testr_results.html.gz"
- "*testrepository.subunit.gz"