Commit graph

56 commits

Author SHA1 Message Date
ecfc7c8241 add nixos vm test for matrix-ops-bot module 2026-03-05 16:14:10 +01:00
7c9b42fe56 add ruff and pyright flake checks 2026-03-05 16:08:31 +01:00
42cf3f75dc handle missing assumed role in aws alerts 2026-03-05 16:03:34 +01:00
79e77148f7 remove legacy gitlab and shell files 2026-03-05 16:01:33 +01:00
3a042155af port matrix-ops-bot to uv and nix flake module 2026-03-05 15:55:47 +01:00
c13d5fc536 Support aws.sts sns notifications 2025-01-31 16:52:25 +01:00
7c06e91ea8 Starting support for AWS SNS cloudtrail event 2025-01-31 16:25:25 +01:00
2a5a95ccaf Ignore some grafana labels, and bold the title 2024-07-18 16:49:27 +02:00
301c3220f5 Generate silence url for prom alertmanager alerts 2024-07-18 16:44:20 +02:00
63b351771a Add actions and more data 2024-07-18 16:20:35 +02:00
4c5a33d72f Fix debugging 2024-07-18 15:49:39 +02:00
7106564ff0 Add some debugging 2024-07-18 15:40:05 +02:00
bf8110010a Fix the python-olm hacks. 2023-11-28 12:33:14 +01:00
26ff0d256b More workarounds to use latest python-olm 2023-11-28 12:16:13 +01:00
2f2cf77ad6 Pin setuptools until fixed: https://github.com/matrix-org/olm/issues/88 2023-11-28 10:51:19 +01:00
4d44c3b299 ci: ensure git is available in the build step 2023-11-28 10:32:23 +01:00
69613721bf alertmanager: distinguish between critical and non critical alerts 2023-11-24 10:23:00 +01:00
1f6cbb411f remove unused import 2023-11-08 14:28:55 +01:00
a7dc5b7177 alertmanager: attach all labels except some 2023-11-08 14:00:05 +01:00
cd072d9e1b expose metrics on port 9000 2023-11-07 16:04:51 +01:00
9e092edfe6 add prometheus instrumentation (but dont' expose yet)
also fixes prod running
2023-11-07 16:02:10 +01:00
6c49265e8a update freeze file 2023-11-07 15:44:22 +01:00
0c305f927a ci: add dind 2023-11-07 15:41:23 +01:00
d8bbf8ed47 small fixes 2023-11-07 15:38:19 +01:00
856fe9f76f update ci 2023-11-07 15:31:04 +01:00
f33992a129 update ci 2023-11-07 15:30:32 +01:00
e175a2e4c7 update ci 2023-11-07 15:26:58 +01:00
973e1fd789 Add alertmanager as supported sender and update deps 2023-11-07 15:14:56 +01:00
05ffc640ed Include templates in docker image 2022-12-01 17:50:44 +00:00
ac35031e94 ci: use python 3.10 2022-12-01 17:30:57 +00:00
470f03dd07 Use python 3.10 and fix types 2022-12-01 17:28:22 +00:00
11afd70979 dynamically fetch the path to the templates 2022-12-01 17:08:48 +00:00
5632cd69c8 Remove dev deps from frozen lockfile 2022-12-01 17:00:28 +00:00
00f617afd2 Update README usage 2022-12-01 16:56:55 +00:00
696b420ed3 Update frozen deps and paramaterize the config file 2022-12-01 16:53:33 +00:00
fef0818535 Merge branch 'feat/gitlab' into 'main'
Add gitlab webhook support

See merge request guardianproject-ops/matrix-ops-bot!1
2022-12-01 16:38:26 +00:00
9d784459a1 ci: Remove used test command 2022-12-01 16:33:37 +00:00
83a526c533 Refactor codebase to by DRY 2022-12-01 16:31:04 +00:00
c925079e8b Format, lint, type 2022-12-01 14:20:37 +00:00
a1ae717c8f Add gitlab webhook support 2022-12-01 13:47:27 +00:00
9d41d56e0c Fix reading alarm state value 2022-11-30 16:30:29 +00:00
cbc4b16f8f Be explicit that an alarm was resolved 2022-11-30 16:11:09 +00:00
08f5b49b16 Handle SNS cloudwatch alarm states with colors 2022-11-30 16:05:39 +00:00
5ecb68f2e7 Attempt to speed up build time by pulling the old image 2022-11-30 15:57:52 +00:00
93bdb5888e Parse JSON bodies in SNS messages 2022-11-30 15:52:04 +00:00
5c594b5e41 Freeze requirements 2022-11-30 15:44:56 +00:00
669b687722 Fix typing 2022-11-30 15:31:25 +00:00
a3051d7c33 don't require authorization for aws-sns endpoint 2022-11-30 15:28:10 +00:00
b9e8747808 Add SNS format 2022-11-30 15:21:09 +00:00
e4308923b4 Set default log level to info 2022-07-22 14:57:37 +00:00