Removing duplicated tasks

Generate subunit files is the same task as Generate
testrepository.subunit file, so we are executing the same task twice
basically. Removing the Generate subunit in favor of
testrepository.subunit because testrepository is used to feed
openstack-health

Change-Id: I0834618254aa6712bdbc4d036a89ca718b258e6f
This commit is contained in:
Arx Cruz 2017-07-25 11:23:39 +02:00 committed by wes hayutin
parent 5271d39e8f
commit 0c6e3cd43b

View File

@ -1,16 +1,4 @@
--- ---
- name: Generate subunit results file
shell: |
find '{{ working_dir }}/tempest/.testrepository/' -regex '.*/[0-9]+' \
| while read name; do cat "$name"; done \
> '{{ working_dir }}/tempest/results.subunit'
- name: Fetch subunit results
fetch:
src: "{{ working_dir }}/tempest/results.subunit"
dest: "{{ lookup('env', 'PWD') }}/results.subunit"
flat: yes
- ignore_errors: true - ignore_errors: true
block: block:
- name: Generate testrepository.subunit results file - name: Generate testrepository.subunit results file