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 <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2017-07-24 11:38:21 -04:00
parent bf6fd6113a
commit 4ba5f093d7
No known key found for this signature in database
GPG Key ID: 611A80832067AF38

View File

@ -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