-
Notifications
You must be signed in to change notification settings - Fork 3.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
Simplify release script find-missing-backports.py #17218
Conversation
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.
Can you please update the release guide with instructions on how to use the script.
Sure, let me update the release guide. |
@LakshSingla , there isn't any usage description of the other scripts either (see screenshot below). So, I guess we can add them in a separate PR itself. |
@@ -23,6 +23,7 @@ on: | |||
- 'examples/**/jupyter-notebooks/**' | |||
- 'web-console/**' | |||
- 'website/**' | |||
- 'distribution/bin/**' |
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.
nit: sort them here and below
@@ -35,6 +36,7 @@ on: | |||
- 'examples/**/jupyter-notebooks/**' | |||
- 'web-console/**' | |||
- 'website/**' | |||
- 'distribution/bin/**' |
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.
@kfaraz re:
I still haven't figured out how to ensure that UT workflows are not triggered when changes are made to distribution/bin files. Need to handle that too.
This paths-ignore
config you have added should skip the UT/IT workflows. Once the change is merged into master, you can test it by modifying one of the Python scripts (or in a private branch). Since there are changes to the workflow files in this PR, all the jobs will be triggered.
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.
Ah, I feared it was that but assumed that workflow files would be excluded by default.
Thanks for the clarification!
Thanks for the reviews, @LakshSingla , @abhishekrb19 ! |
Changes
only to fetch the milestone title which is always the same as the release branch name.
Usage example
Before
export GIT_TOKEN=abcdef... python3 find-missing-backports.py 30.0.0 31.0.0 57
Output:
After
export GIT_TOKEN=abcdef... python3 find-missing-backports.py 30.0.0 31.0.0
Output
Error message
Command