Skip to content

Add promtool-rules hook#703

Merged
sandydoo merged 1 commit intocachix:masterfrom
carlthome:add-promtool-rules-check
Apr 7, 2026
Merged

Add promtool-rules hook#703
sandydoo merged 1 commit intocachix:masterfrom
carlthome:add-promtool-rules-check

Conversation

@carlthome
Copy link
Copy Markdown
Contributor

@carlthome carlthome commented Apr 1, 2026

Add promtool-rules hook that validates Prometheus recording and alerting rules files using promtool check rules

Matches files with .yaml or .yml extension by default.

Comment thread modules/hooks.nix Outdated
@carlthome carlthome force-pushed the add-promtool-rules-check branch from 7b61d7b to df1fdeb Compare April 3, 2026 16:18
@carlthome
Copy link
Copy Markdown
Contributor Author

e2e tested to work

@carlthome carlthome requested a review from sandydoo April 3, 2026 16:26
@sandydoo sandydoo added the new-hook A request for a new hook label Apr 7, 2026
@sandydoo sandydoo merged commit 130b9ba into cachix:master Apr 7, 2026
5 of 6 checks passed
@carlthome carlthome deleted the add-promtool-rules-check branch April 8, 2026 05:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-hook A request for a new hook

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants