From d1d7ccbef9a21aa1ddbcbc03c26a1e2cd0d86ba1 Mon Sep 17 00:00:00 2001 From: wojtekt Date: Thu, 28 Apr 2022 17:41:46 +0200 Subject: [PATCH] Freeze important triaged bugs when they become rotten --- .../sig-contribex-k8s-triage-robot.yaml | 49 +++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-contribex-k8s-triage-robot.yaml b/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-contribex-k8s-triage-robot.yaml index b858cb7daee85..83917c309e1af 100644 --- a/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-contribex-k8s-triage-robot.yaml +++ b/config/jobs/kubernetes/sig-k8s-infra/trusted/sig-contribex-k8s-triage-robot.yaml @@ -184,6 +184,55 @@ periodics: secret: secretName: k8s-triage-robot-github-token +- name: ci-k8s-triage-robot-freezer + interval: 1h + cluster: k8s-infra-prow-build-trusted + decorate: true + annotations: + testgrid-dashboards: sig-contribex-k8s-triage-robot + description: Freezes important triaged bug issues + testgrid-tab-name: freeze + spec: + containers: + - image: gcr.io/k8s-prow/commenter:v20220427-c2db0f69b7 + command: + - commenter + args: + - |- + --query=org:kubernetes + org:kubernetes-sigs + org:kubernetes-client + org:kubernetes-csi + -repo:kubernetes-sigs/kind + -label:lifecycle/frozen + label:lifecycle/rotten + label:kind/bug + label:triage/accepted + label:priority/critical-urgent,priority/important-soon,priority/important-longterm + - --token=/etc/github-token/token + - --endpoint=http://ghproxy.default.svc.cluster.local + - |- + --comment=The issue has been marked as an important bug and triaged. + Such issues are automatically freezed when hitting the rotten state + to avoid missing important bugs. + + Please send feedback to sig-contributor-experience at [kubernetes/community](https://github.com/kubernetes/community). + + /lifecycle frozen + + [1]: https://www.kubernetes.dev/docs/guide/issue-triage/ + - --template + - --ceiling=10 + - --confirm + volumeMounts: + - name: token + mountPath: /etc/github-token + volumes: + - name: token + secret: + secretName: k8s-triage-robot-github-token + + - name: ci-k8s-triage-robot-retester interval: 20m # Retest at most 1 PR per 20m, which should not DOS the queue. cluster: k8s-infra-prow-build-trusted