add a livecheck, update packages
This commit is contained in:
5
app.json
5
app.json
@@ -55,11 +55,6 @@
|
||||
"description": "Set to `debug` to enable detailed debug logging.",
|
||||
"required": false
|
||||
},
|
||||
"HUBOT_HEROKU_KEEPALIVE_URL": {
|
||||
"value": "https://YOUR_BOT_APP.herokuapp.com",
|
||||
"description": "Set to use the subdomain of this bot to keep it awake",
|
||||
"required": true
|
||||
},
|
||||
"BUILDPACK_URL": {
|
||||
"value": "https://github.com/heroku/heroku-buildpack-nodejs",
|
||||
"description": "Only change this if you are sure you need to.",
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
[
|
||||
"hubot-diagnostics",
|
||||
"hubot-help",
|
||||
"hubot-heroku-keepalive",
|
||||
"hubot-google-images",
|
||||
"hubot-google-translate",
|
||||
"hubot-pugme",
|
||||
|
||||
26
package.json
26
package.json
@@ -5,23 +5,22 @@
|
||||
"author": "Bob Bergman <rbergman@atlassian.com>",
|
||||
"description": "A simple helpful robot for your Company",
|
||||
"dependencies": {
|
||||
"cheerio": "~0.19.0",
|
||||
"chrono-node": "~1.0.6",
|
||||
"cheerio": "~1.0.0-rc.2",
|
||||
"chrono-node": "~1.3.5",
|
||||
"cron": "^1.0.9",
|
||||
"hubot": "^2.18.0",
|
||||
"hubot-ambush": "0.0.3",
|
||||
"hubot-browserstack": "~0.1.6",
|
||||
"hubot-business-cat": "^1.1.19",
|
||||
"hubot-cron": "~0.2.9",
|
||||
"hubot-diagnostics": "0.0.1",
|
||||
"hubot-diagnostics": "0.0.2",
|
||||
"hubot-google-images": "^0.2.6",
|
||||
"hubot-google-translate": "^0.1.0",
|
||||
"hubot-help": "^0.1.1",
|
||||
"hubot-heroku-keepalive": "0.0.4",
|
||||
"hubot-google-translate": "^0.2.1",
|
||||
"hubot-help": "^0.2.2",
|
||||
"hubot-hipchat": "^2.12.0-2",
|
||||
"hubot-maps": "0.0.2",
|
||||
"hubot-maps": "0.0.3",
|
||||
"hubot-pugme": "^0.1.0",
|
||||
"hubot-redis-brain": "0.0.2",
|
||||
"hubot-redis-brain": "0.0.4",
|
||||
"hubot-rules": "^0.1.0",
|
||||
"hubot-scripts": "^2.5.16",
|
||||
"hubot-shipit": "^0.2.0",
|
||||
@@ -29,9 +28,12 @@
|
||||
"hubot-thesimpsons": "~1.1.3",
|
||||
"hubot-victory": "^1.3.0",
|
||||
"hubot-voting": "~1.0.0",
|
||||
"hubot-youtube": "^0.1.2",
|
||||
"lodash": "~3.9.3",
|
||||
"moment": "~2.10.3",
|
||||
"time": "^0.11.3"
|
||||
"hubot-youtube": "^1.0.2",
|
||||
"lodash": "~4.17.4",
|
||||
"moment": "~2.20.1",
|
||||
"time": "^0.12.0"
|
||||
},
|
||||
"scripts": {
|
||||
"meh": "hubot"
|
||||
}
|
||||
}
|
||||
|
||||
3
scripts/livecheck.coffee
Normal file
3
scripts/livecheck.coffee
Normal file
@@ -0,0 +1,3 @@
|
||||
module.exports = (robot) ->
|
||||
robot.router.get '/livecheck', (req, res) ->
|
||||
res.send 'ok'
|
||||
Reference in New Issue
Block a user