mirror of
https://github.com/prometheus-community/windows_exporter.git
synced 2026-10-17 18:19:04 +02:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user