whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sam Ruby <ru...@apache.org>
Subject [whimsy.git] [2/2] Commit f35c20b: Merge branch 'master' of github.com:apache/whimsy
Date Fri, 15 Jan 2016 16:05:13 GMT
Commit f35c20ba9b8e07b966176f04bdfeb706a4de5557:
    Merge branch 'master' of github.com:apache/whimsy


Branch: refs/heads/master
Author: Sam Ruby <rubys@intertwingly.net>
Committer: Sam Ruby <rubys@intertwingly.net>
Pusher: rubys <rubys@apache.org>

------------------------------------------------------------
www/status.cgi                                               | +++++++++++++ 
------------------------------------------------------------
13 changes: 13 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/status.cgi b/www/status.cgi
new file mode 100755
index 0000000..ac58401
--- /dev/null
+++ b/www/status.cgi
@@ -0,0 +1,13 @@
+#!/usr/bin/ruby
+require 'wunderbar'
+
+# the following is what infrastructure team sees:
+print "Status: 200 OK\r\n"
+
+# For human consumption:
+_html do
+  _h1 "Whimsy-Test Status"
+  _p do
+    _a 'Ping My Box', href: 'https://www.pingmybox.com/dashboard?location=470'
+  end
+end

Mime
View raw message