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 (cherry picked from commit4a0182f15a
) (cherry picked from commit067770667c
)
This commit is contained in:
parent
5fc255680d
commit
e1c0cb16e9
|
@ -55,19 +55,6 @@
|
||||||
|
|
||||||
# Parse build logs and extract pkg install info
|
# Parse build logs and extract pkg install info
|
||||||
tests/files/process_build_logs.py -l logs/build -b {{ base_distro }} > logs/packages-info.txt
|
tests/files/process_build_logs.py -l logs/build -b {{ base_distro }} > logs/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 logs -name "*.log"); do
|
|
||||||
sudo mv $f ${f/.log/.txt}
|
|
||||||
done
|
|
||||||
|
|
||||||
# append .txt to all kolla config file
|
|
||||||
find logs/kolla_configs -type f -exec mv '{}' '{}'.txt \;
|
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: "{{ zuul.project.src_dir }}"
|
chdir: "{{ zuul.project.src_dir }}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue