Karol Wypchlo
42f3ef3e22
add missing newline to satisfy flake8
2022-03-31 15:23:58 +02:00
Karol Wypchlo
93c6e790cd
skip health checks if container is not running
2022-03-31 11:34:18 +02:00
Karol Wypchlo
2a2a7b7392
provide api password from env variable first
2022-03-03 16:20:23 +01:00
Karol Wypchlo
f7f03d183a
replace api env vars with domain vars
2022-02-16 14:59:15 +01:00
Matthew Sevey
5380585250
update py file for black
2022-02-03 12:02:30 -05:00
Karol Wypchlo
9026d56777
fix health check script invalid syntax
...
python lint job
2021-10-06 14:21:58 +02:00
Karol Wypchło
1c8816530c
cleanup unused discord import ( #1073 )
2021-08-17 09:58:00 +02:00
Karol Wypchło
71f9d5280e
use webhook instead of discrod bot to send messages ( #979 )
...
* initial refactor
* do not use before define
* forgot to remove client
* test notification
* add /cc
* fix /cc
* fix /cc role
* fix /cc
* test file upload
* test file upload
* test file upload
* default to no mentions
* unformat
* replace discord with DiscordWebhook
* add readme
* don't fail on failures in message send
2021-07-16 13:12:58 +02:00
Karol Wypchlo
7fd97b5824
improve health check reliability
2021-07-12 14:48:13 +02:00
Karol Wypchlo
af80a84094
server-health => skynet-server-health
2021-06-30 15:31:38 +02:00
Karol Wypchlo
fde760ec86
add option to pass channel and notify role to health check script
2021-06-30 15:15:51 +02:00
Karol Wypchlo
f6299e4e9d
use SKYNET_SERVER_API in discord bot
2021-06-16 16:50:05 +02:00
Karol Wypchlo
a16b724583
do not try to attach an empty file
2021-03-03 14:34:27 +01:00
Karol Wypchlo
443eacc844
print wallet address on low funds
2020-11-27 17:13:41 +01:00
Karol Wypchlo
e7e7adc141
get api password from docker container
2020-09-29 15:42:41 +02:00
Karol Wypchło
10a251c081
reimplement health checks ( #434 )
2020-09-29 12:32:45 +02:00
Marcin Jachymiak
06b25382ff
Mention role in discord, rather than online users
2020-04-14 14:50:25 -04:00
Marcin Jachymiak
d7ab15a885
Leave TODO about flags
2020-03-10 11:26:02 -04:00
Marcin Jachymiak
6d8fe9ca02
Add log checker
2020-03-09 15:55:03 -04:00
Marcin Jachymiak
4b1ac49ef1
Refactor bot_utils out of health-checker
2020-03-09 12:15:13 -04:00