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

contrib: Improve release script guard rails #16936

Merged

Conversation

joestringer
Copy link
Member

  • Print help if zero args are provided
  • Pick up on invalid URLs with a simple regex to avoid failing early
  • Add the actions URL to the commit and PR messages.

* Print help if zero args are provided
* Pick up on invalid URLs with a simple regex to avoid failing early
* Add the actions URL to the commit and PR messages.

Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer joestringer requested a review from a team as a code owner July 20, 2021 00:54
@joestringer joestringer added needs-backport/1.10 release-note/misc This PR makes changes that have no direct user impact. labels Jul 20, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. and removed dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. labels Jul 20, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.10.4 Jul 20, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to Needs backport from master in 1.8.11 Jul 20, 2021
Copy link
Member

@aditighag aditighag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although the changes are pretty straight forward, I don't have experience with using the script so my review might be limited in value.

@joestringer
Copy link
Member Author

👍 thanks for the review. I'm not too worried about the impacts, I did try it out during the last release cycle, seemed to do the right thing. All of these release scripts are just slowly getting better incrementally through these individual steps.

@joestringer joestringer merged commit 189cf7f into cilium:master Jul 22, 2021
@joestringer joestringer deleted the submit/digest-script-guard-rail branch July 22, 2021 22:24
@joestringer joestringer added this to Needs backport from master in 1.8.12 Jul 22, 2021
@joestringer joestringer removed this from Needs backport from master in 1.8.11 Jul 22, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Needs backport from master to Backport pending to v1.10 in 1.10.4 Jul 26, 2021
@jibi jibi mentioned this pull request Jul 26, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot moved this from Backport pending to v1.10 to Backport done to v1.10 in 1.10.4 Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
1.10.4
Backport done to v1.10
1.8.12
Backport done to v1.8
Development

Successfully merging this pull request may close these issues.

None yet

6 participants