Paul Belanger d2d4abedc5
Move subunit processing into fetch-testr-output
This logic makes more sense in the fetch-testr-output role. I've also
left a few TODO action for a followup patch.  Specifically, this
still depends some openstack-infra configuration.

Change-Id: Iea8968708e3e80f0d21434ec08fff5e4ee7bdf4d
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
2017-07-26 14:29:26 -04:00

22 lines
526 B
YAML

- name: Register testrepository directory
stat:
path: "{{ zuul_work_dir }}/.testrepository"
register: testrepository_stat
- name: Process testr artifacts
include: process.yaml
when:
- testrepository_stat.stat.exists
- name: Collect test-results
synchronize:
dest: "{{ zuul.executor.log_root }}"
mode: pull
rsync_opts:
- "--ignore-missing-args"
src: "{{ zuul_work_dir }}/{{ item }}"
verify_host: true
with_items:
- "*testr_results.html.gz"
- "*testrepository.subunit.gz"