From 4ba5f093d770e5d783b726cbdad44c012e6b57c1 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Mon, 24 Jul 2017 11:38:21 -0400 Subject: [PATCH] Remove .txt suffix from tox logs This was legacy code needed for openstack-infra logging servers. We can stop doing this in our tox role. It is possible a job would want to do this, but it now makes more sense to hav this happen as a post-run task in the job. Change-Id: I981eb99468a352386f268fe6b8911291a93957ef Signed-off-by: Paul Belanger --- roles/tox/tasks/main.yaml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/roles/tox/tasks/main.yaml b/roles/tox/tasks/main.yaml index 5b6e8fd4f..77b59e06c 100644 --- a/roles/tox/tasks/main.yaml +++ b/roles/tox/tasks/main.yaml @@ -69,9 +69,4 @@ process_testr_artifacts check_nose_html - # Rename tox .log files to .log.txt so that Apache serves them as - # text/plain files since it can handle .txt special - and .log is - # unknown and therefore served as binary. - find .tox -type f -name "*.log" -exec mv {} {}.txt \; - exit $result