Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUGFIX] Fix check for invalid annotation name #437

Merged
merged 3 commits into from
Aug 18, 2023

Conversation

kfdm
Copy link
Collaborator

@kfdm kfdm commented Aug 17, 2023

We need to ensure that our labels and annotations are also evaluated in the correct order when we call promtool to validate our rules.

kfdm added 3 commits August 16, 2023 16:35
By using --buffer, our tests will only show extra output if there is an
error, which will make our normal test results easier to read.
We need to ensure that our labels and annotations are also evaluated
when we call promtool to validate our rules.
By telling our subprocess that we want the encoding as utf8, we can save
an extra decode step. We also reorder the output a bit to show the
promtool output first.
@kfdm kfdm requested a review from a team as a code owner August 17, 2023 05:59
@kfdm kfdm merged commit b99f2ba into line:master Aug 18, 2023
@kfdm kfdm deleted the invalid-annotation-name branch August 18, 2023 04:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants