index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
author | Erich Eckner <git@eckner.net> | 2018-01-17 14:19:33 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-01-17 14:19:33 +0100 |
commit | 72aa80b29963e4bca7e273463f4f62aeab5cc657 (patch) | |
tree | c0591aef247acb041ecd331ae2a2f344699cb1ad /bin/build-master-status-from-mysql | |
parent | 81e0f55ccc55da3d837d6247fa2cc27a25b08ffa (diff) |
-rwxr-xr-x | bin/build-master-status-from-mysql | 14 |
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql index 9626b27..d78d963 100755 --- a/bin/build-master-status-from-mysql +++ b/bin/build-master-status-from-mysql @@ -26,5 +26,15 @@ ${mysql_command} ' } 1 i <html><head><title>list of build slaves</title></head><body> $ a </body></html> - ' > \ - "${webserver_directory}/build-slaves.html" + ' | \ + sponge "${webserver_directory}/build-slaves.html" + +mysql_sanity_check | \ + sed ' + s,^-.*$,<font color="#FF0000">\0</font>, + s,^+.*$,<font color="#00FF00">\0</font>, + s/$/<br>/ + 1 i <html><head><title>sanity of the buildmaster'"'"'s mysql database</title></head><body> + $ a </body></html> + ' | \ + sponge "${webserver_directory}/mysql-sanity.html" |