Skip to content

Kubernetes CI Policy: all prow.k8s.io jobs must have testgrid alerts configured #18599

Open
@spiffxp

Description

@spiffxp

Part of #18551

Why this is important:

  • In order to ensure effective use of community resources, we expect them to be spent on jobs that provide useful signal, and are actively maintained
  • Configuring testgrid alerts requires setting an e-mail address, which gives us a point of contact to escalate to if a job is deemed an ineffective use of community resources
  • We'll use this to implement a policy where we reserve the right to remove/disable jobs that are deemed an ineffective use of resources (e.g. perma-failing for O(weeks)) if the point of contact is unresponsive

TODO:

  • come up with test to enforce this policy (logging only)
  • come up with report to identify jobs and likely candidate sig owners
    • eg: if a job is on "sig-foo"'s dashboard, it's likely they want to own it
    • who to contact for jobs that aren't sigs?
  • send out notice to all sigs, give a deadline of N weeks
  • any jobs that don't have e-mail addresses configured should be removed
  • flip test to failing once all jobs meet the policy

Other thoughts / notes:

  • need to parse both prowjob config and testgrid config for this
    • there are some testgrids not populated by prow, we can probably ignore these?
    • there are some prowjobs that don't have all their testgrid config in annotations

/sig testing

Metadata

Metadata

Assignees

Labels

area/jobsarea/testgridhelp wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.lifecycle/frozenIndicates that an issue or PR should not be auto-closed due to staleness.sig/testingCategorizes an issue or PR as relevant to SIG Testing.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions