Copy and unzip testrepository

In an effort for ci-logging-processing process the testrepository to
have tempest results on opensearch, the testrepository can not be
gzipped, since logging processing tool doesn't support gzipped files
yet, and also be in the root of the logs directory.

Depends-On: https://review.opendev.org/c/openstack/tripleo-ci/+/859526

Change-Id: Iebba70821f7aec02dc97477f49148064da9aa743
This commit is contained in:
Arx Cruz 2022-09-27 12:27:05 +02:00 committed by Arx Cruz
parent 9a20147383
commit b44c7cc7b4
1 changed files with 4 additions and 3 deletions

View File

@ -50,10 +50,11 @@
gunzip {{ artcl_collect_dir }}/tempest.{xml,html}.gz || true;
changed_when: true
- name: Copy testrepository.subunit file to the root of collect_dir for os_tempest
- name: Copy and unzip testrepository.subunit file to the root of {{ artcl_collect_dir }} for os_tempest
shell: >
cp {{ artcl_collect_dir }}/undercloud/var/log/tempest/testrepository.subunit.gz {{ artcl_collect_dir }}/testrepository.subunit.gz || true
when: use_os_tempest is defined
cp {{ artcl_collect_dir }}/undercloud/var/log/tempest/testrepository.subunit* {{ artcl_collect_dir }} || true;
gunzip {{ artcl_collect_dir }}/testrepository.subunit.gz || true;
changed_when: true
- name: Fetch .sh and .log files from local working directory on localhost
shell: >