mixin: commit the rendered rules and alerts

The rule files rendered from the default configuration are committed next
to the sources so they can be used without Jsonnet. mise run check-rules
regenerates them and fails on a difference; CI and mise run test run it,
like the dashboard drift check.

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
This commit is contained in:
Jan-Otto Kröpke
2026-10-17 07:50:01 +00:00
parent f8f2a71d77
commit fcb7cf32be
7 changed files with 305 additions and 12 deletions
+3
View File
@@ -64,6 +64,9 @@ jobs:
- name: Build dashboard and check generated changes
run: mise run check-dashboards
- name: Generate rules and check generated changes
run: mise run check-rules
- name: Lint dashboard and test rules
run: mise run test