-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Add test for testrgrid alert emails on release-blocking jobs #19892
Conversation
Adds a check that release-blocking jobs have testgrid alert emails. Logs violations for now, but should be updated to error on violations when all jobs pass. Signed-off-by: hasheddan <[email protected]>
/cc @kubernetes/ci-signal |
/lgtm |
/assign @spiffxp |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chases2, hasheddan The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Thanks for this @hasheddan |
Sorry I missed this. We should revert this, because there is already a test that does this, and catches more corner cases. It is possible to configure test grid alerts outside of prowjob files, so just checking prow job annotations is insufficient. Instead, we should build on this test: test-infra/config/tests/testgrids/config_test.go Lines 506 to 544 in 2293860
It requires a testgrid.proto file to be generated (using test grid files and prow job files as source), and then looks at the test grid options. If you invoke this with bazel, that proto file is generated automatically (see #18599 (comment)) |
@spiffxp thanks for the info and apologies for missing this existing test. I'll revert and then update the existing 👍 |
Adds a check that release-blocking jobs have testgrid alert emails. Logs
violations for now, but should be updated to error on violations when
all jobs pass.
Signed-off-by: hasheddan [email protected]
xref: kubernetes/sig-release#1216 #19844 (comment)
/assign @justaugustus @cpanato