summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-01-15 10:54:18 +0100
committerRadosław Piliszek <radoslaw.piliszek@gmail.com>2020-01-20 19:22:25 +0000
commita74a9408b85443b74b208fddf2c2b09937fd8b2c (patch)
tree369d99c991eec4af1ebbe01249050030747d3fb1 /tests
parent9adfb291184ec30a0aeaf2f4b792735e02980b00 (diff)
downloadkolla-a74a9408b85443b74b208fddf2c2b09937fd8b2c.tar.gz
kolla-a74a9408b85443b74b208fddf2c2b09937fd8b2c.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 (cherry picked from commit 4a0182f15acbabc88df0aa660abce81d61f528da)
Diffstat (limited to 'tests')
-rw-r--r--tests/playbooks/post.yml13
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 }}"