diff options
| author | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-01-15 10:54:18 +0100 |
|---|---|---|
| committer | Radosław Piliszek <radoslaw.piliszek@gmail.com> | 2020-01-20 09:30:27 +0000 |
| commit | 4a0182f15acbabc88df0aa660abce81d61f528da (patch) | |
| tree | 4d623fef51930ccdcac9c5ba44f6ad852324690c /tests | |
| parent | 1cb4760b055bcc38380e6741273337c33c0b563c (diff) | |
| download | kolla-4a0182f15acbabc88df0aa660abce81d61f528da.tar.gz kolla-4a0182f15acbabc88df0aa660abce81d61f528da.zip | |
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
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/playbooks/post.yml | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/playbooks/post.yml b/tests/playbooks/post.yml index f423a7056..a7bc9efac 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 }}" |
