summaryrefslogtreecommitdiff
path: root/bin/build-master-status
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-04-18 10:26:04 +0200
committerErich Eckner <git@eckner.net>2018-04-18 10:26:04 +0200
commitcbe003cac057aa62ed44c2bef2fed4b10e4e1924 (patch)
tree8aab9fbc2a1c85dbec7cf1f2a9b957034854a8ca /bin/build-master-status
parent89018474081803a70d29dc395203ead76787ce6e (diff)
downloadbuilder-cbe003cac057aa62ed44c2bef2fed4b10e4e1924.tar.xz
bin/build-master-status: decomission ssh-log.html
Diffstat (limited to 'bin/build-master-status')
-rwxr-xr-xbin/build-master-status34
1 files changed, 0 insertions, 34 deletions
diff --git a/bin/build-master-status b/bin/build-master-status
index db118e6..04e8ae8 100755
--- a/bin/build-master-status
+++ b/bin/build-master-status
@@ -168,40 +168,6 @@ if [ -s "${tmp_dir}/todos" ]; then
rm -f "${tmp_dir}/todos"
fi
-{
- printf '%s\n' \
- '<html>' \
- '<head>' \
- '<title>log of ssh connections from build slaves</title>' \
- '</head>' \
- '<body>' \
- '<table>'
- printf '<tr>'
- printf '<th>%s</th>' \
- 'time' \
- 'build slave' \
- 'command' \
- 'arguments'
- printf '</tr>\n'
- if [ -r "${work_dir}/ssh-log" ]; then
- tac "${work_dir}/ssh-log" | \
- while read -r date time slave command arguments; do
- printf '<tr>'
- printf '<td>%s</td>' \
- "${date} ${time}" \
- "${slave}" \
- "${command}" \
- "${arguments}"
- printf '</tr>\n'
- done
- fi
- printf '%s\n' \
- '</table>' \
- '</body>' \
- '</html>'
-} > \
- "${tmp_dir}/ssh-log.html"
-
find "${tmp_dir}" -maxdepth 1 -type f | \
while read -r file; do
cat "${file}" > \