From 3b2436f89b93d1957ab567d4715e2c54bb317293 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Tue, 29 Jan 2019 20:25:36 +0100 Subject: [PATCH] Add CHECKS file --- CHECKS | 6 ++++++ package.json | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 CHECKS diff --git a/CHECKS b/CHECKS new file mode 100644 index 0000000..f821f8d --- /dev/null +++ b/CHECKS @@ -0,0 +1,6 @@ +WAIT=10 +TIMEOUT=30 +ATTEMPTS=3 + +/ping PONG +http://status-github-bot.status.im/ping PONG \ No newline at end of file diff --git a/package.json b/package.json index f4b3ece..d4b14aa 100644 --- a/package.json +++ b/package.json @@ -8,7 +8,9 @@ "scripts": { "start": "probot run ./index.js", "test": "jest && standard", - "logs": "ssh dokku.status.im tail -n 100 -f /var/log/docker/status-github-bot.web.1/docker.log" + + "logs": "ssh dokku.status.im tail -n 100 -f /var/log/docker/status-github-bot.web.1/docker.log", + "run-checks": "ssh dokku.status.im dokku checks:run status-github-bot" }, "dependencies": { "axios": "^0.18.0",