-
Notifications
You must be signed in to change notification settings - Fork 502
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 new tool: patch release cherry pick notification #2432
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: cpanato 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 |
406aa33
to
be70916
Compare
39d4512
to
06d3137
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I really like the idea of the early notification 👍
/assign |
Feel free to reassign me when this is ready! |
06d3137
to
51bd5dd
Compare
The simplest way to install the `patch-release-notify` CLI is via `go get`: | ||
|
||
``` | ||
$ go get k8s.io/release/cmd/patch-release-notify |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ go get k8s.io/release/cmd/patch-release-notify | |
$ go install k8s.io/release/cmd/patch-release-notify@latest |
I think go get
is deprecated for installing binaries.
@@ -0,0 +1,295 @@ | |||
/* | |||
Copyright 2022 The Kubernetes Authors. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copyright 2022 The Kubernetes Authors. | |
Copyright 2023 The Kubernetes Authors. |
&opts.dayToalert, | ||
dayToalertFlag, | ||
3, | ||
"day to before the deadline to send the notification. Defaults to 3 days.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming the deadline is on Friday's, we probably wanna adjust the deadline to the previous Monday. So 4 days?
) | ||
|
||
var requiredFlags = []string{ | ||
schedulePathFlag, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we point that to a default remote location without requiring the path to be locally available?
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close |
@k8s-triage-robot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/remove-lifecycle rotten |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
@cpanato – should we resurrect this PR? |
@justaugustus yes!! i know we are discussing which email service to use, so I would like to align that. do you have any updates @jimangel @ameukam? what is the email service? then I can update this PR and we can move forward |
The solution I proposed is for manual sending (releng folks cutting releases). This seems like it's attempting to be a more automated solution? If so, we'd need to evaluate a different bulk-sending service like @ameukam mentioned. TL;DR: I don't think there's a solution yet for automated emails. We also might be able to modify my solution to use an offline / refresh token, but then we'd have to figure out which account we'd want to authorize to allow "sending email on behalf." |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle remove |
The Kubernetes project currently lacks enough active contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten working on that |
closing in favor of #3627 |
What type of PR is this?
/kind feature
What this PR does / why we need it:
This is a tool that will run in a prow job and uses the https://raw.githubusercontent.com/kubernetes/website/main/data/releases/schedule.yaml published with the patch releases and will notify when the cherry pick deadline is close by sending an email to the k-dev mailing list.
Opened as WIP to collect feedback and see what we can improve
After approval and merge, will add the prow job to run the tool
/assign @saschagrunert @puerco @xmudrii @Verolop @justaugustus
cc @kubernetes/release-engineering
Which issue(s) this PR fixes:
Fixes partially #2174
Special notes for your reviewer:
Does this PR introduce a user-facing change?