Merge "CI: Fix symlinks to failed logs" into stable/train

This commit is contained in:
Zuul 2020-01-22 16:32:22 +00:00 committed by Gerrit Code Review
commit e4b41156eb
1 changed files with 0 additions and 13 deletions

View File

@ -61,18 +61,5 @@
# Parse build logs and extract pkg install info # 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 {{ 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 executable: /bin/bash
chdir: "{{ kolla_logs_dir }}" chdir: "{{ kolla_logs_dir }}"