From 4a0182f15acbabc88df0aa660abce81d61f528da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rados=C5=82aw=20Piliszek?= Date: Wed, 15 Jan 2020 10:54:18 +0100 Subject: [PATCH] CI: Fix symlinks to failed logs Stop renaming files. Swift should be able to serve text/plain files based on content, not extension. Failed logs symlinks were broken because we stopped gzipping log files and improperly rewrote the logic there. Change-Id: Idddf51730821644948f51577807f5beaa18c6262 --- tests/playbooks/post.yml | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/tests/playbooks/post.yml b/tests/playbooks/post.yml index f423a70561..a7bc9efac5 100644 --- a/tests/playbooks/post.yml +++ b/tests/playbooks/post.yml @@ -61,18 +61,5 @@ # Parse build logs and extract pkg install info {{ ansible_user_dir }}/{{ zuul.project.src_dir }}/tests/files/process_build_logs.py -l build -b {{ base_distro }} > packages-info.txt - - # rename files to .txt; this is so that when displayed via - # logs.openstack.org clicking results in the browser shows the - # files, rather than trying to send it to another app or make you - # download it, etc. - - # firstly, rename all .log files to .txt files - for f in $(find . -name "*.log"); do - mv $f ${f/.log/.txt} - done - - # append .txt to all kolla config file - find kolla_configs -type f -exec mv '{}' '{}'.txt \; executable: /bin/bash chdir: "{{ kolla_logs_dir }}"