From aa3ec801ddead3487a386e6f890f0d01763fda39 Mon Sep 17 00:00:00 2001 From: Matt Young Date: Tue, 8 Nov 2016 00:08:47 -0500 Subject: [PATCH] Add to index and generated output We have been finding the generated html of our logs to be very useful. We generate them after one of our CI jobs that deploy an OpenStack cloud using RDO. RDO is a community of people using and deploying OpenStack on CentOS, Fedora, and RHEL. [1] Our artifact server keeps our logs and artifacts compressed, and upon access decompresses, parses, and renders them in a browser. In the case of the html files generated by generate_page.sh, since the the open/close html tags are not present it does not set the MIME type correctly and we don't render correctly. An example of this is here: [2] [1] https://www.rdoproject.org/ [2] https://thirdparty-logs.rdoproject.org/jenkins-tripleo-quickstart-periodic-newton-delorean-ha_192gb-17/undercloud/var/log/extra/dstat.html.gz --- generate_page.sh | 3 ++- index.html | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/generate_page.sh b/generate_page.sh index b35f1c3..b073a1c 100755 --- a/generate_page.sh +++ b/generate_page.sh @@ -1,7 +1,7 @@ #!/bin/sh ## -## pregeneratehtml.sh +## generate_page.sh ## ## Made by gaspar_d ## Login @@ -45,6 +45,7 @@ main() { done echo "" + echo "" } diff --git a/index.html b/index.html index a6bc68a..544cac0 100644 --- a/index.html +++ b/index.html @@ -1,3 +1,4 @@ + dstat @@ -83,3 +84,4 @@ +