project-config/roles/fetch-translations-stestr-output/tasks/main.yaml
Andreas Jaeger ca7a4f4ff4 Collect testrepository.subunit.gz for translations
The show up in openstack-health, we need to publish the subunit file.
The file is written by the subunit files, so only publish it.

Change-Id: Ia2a4060c7e6ae3a5f9b8a8e8540c1d2c331850b1
2017-11-27 08:17:58 +01:00

14 lines
345 B
YAML

- name: Register testrepository.subunit file
stat:
path: "{{ zuul_work_dir }}/testrepository.subunit.gz"
register: subunit
- name: Collect test-results
synchronize:
dest: "{{ zuul.executor.log_root }}"
mode: pull
src: "{{ zuul_work_dir }}/testrepository.subunit.gz"
verify_host: true
when:
- subunit.stat.exists