forked from cloudflare/pint
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
65 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
mkdir rules | ||
mkdir rules/src | ||
exec ln -s src rules/dst | ||
exec ln -s rules linked | ||
|
||
pint.ok -l debug --no-color lint rules linked rules/src/rule.yaml | ||
! stdout . | ||
cmp stderr stderr.txt | ||
|
||
-- stderr.txt -- | ||
level=debug msg="File parsed" path=rules/src/rule.yaml rules=1 | ||
level=debug msg="Found recording rule" lines=4-5 path=rules/src/rule.yaml record=down | ||
level=debug msg="Configured checks for rule" enabled=["promql/syntax","alerts/for","alerts/comparison","alerts/template","promql/fragile","promql/regexp"] path=rules/src/rule.yaml rule=down | ||
-- rules/src/rule.yaml -- | ||
groups: | ||
- name: foo | ||
rules: | ||
- record: down | ||
expr: up == 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# Changelog | ||
|
||
## v0.28.6 | ||
|
||
### Fixed | ||
|
||
- Fixed symlink handling when running `pint lint`. | ||
|
||
## v0.28.5 | ||
|
||
### Fixed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters