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
This commit is contained in:
Radosław Piliszek 2020-01-15 10:54:18 +01:00
parent 1cb4760b05
commit 4a0182f15a
1 changed files with 0 additions and 13 deletions

View File

@ -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 }}"