Refactor codebase to by DRY

This commit is contained in:
Abel Luck 2022-12-01 16:31:04 +00:00
parent c925079e8b
commit 83a526c533
13 changed files with 320 additions and 131 deletions

20
config.json.sample Normal file
View file

@ -0,0 +1,20 @@
{
"routing_keys": [
{
"name": "gp-ops-alert-dev",
"path_key": "eePh0Gaedaing8yoogoh",
"secret_token": "ooLeoquaeGh9yaNgoh5u",
"room_id": "!ABCD123:matrix.org",
"hook_type": "gitlab"
},
],
"log_level": "INFO",
"matrix": {
"homeserver": "https://matrix.org",
"user_id": "@my-bot-name:matrix.org",
"password": "hunter2",
"device_name": "bot.mydomain.com",
"store_path": "dev.data/",
"verify_ssl": true
}
}