-
Notifications
You must be signed in to change notification settings - Fork 216
USHIFT-5765: common_versions.sh script generator #5037
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
base: main
Are you sure you want to change the base?
Conversation
@vanhalenar: This pull request references USHIFT-5765 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.20.0" version, but no target version was set. 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 openshift-eng/jira-lifecycle-plugin repository. |
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.
Very nice.
Only minor comments mostly regarding logs :)
/retest |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: pmtk, vanhalenar 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 |
1 similar comment
/hold Revision 5b3e287 was retested 3 times: holding |
/lgtm cancel |
export MINOR_VERSION=20 | ||
export PREVIOUS_MINOR_VERSION=$(( "${MINOR_VERSION}" - 1 )) | ||
export YMINUS2_MINOR_VERSION=$(( "${MINOR_VERSION}" - 2 )) | ||
export FAKE_NEXT_MINOR_VERSION=$(( "${MINOR_VERSION}" + 1 )) | ||
|
||
# For a main branch, the current release repository usually comes from |
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.
If we generate this file, we should keep the comments too - if not in the generated file, than in the generator code.
These comments contain valuable information.
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've reworded the comments a bit and included them in the generator code, is there any specific information that is missing?
@vanhalenar: The following test failed, say
Full PR test history. Your PR dashboard. 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-sigs/prow repository. I understand the commands that are listed here. |
Not sure about how or who should execute this new script, but I suggest you add a bash script to run the python one. |
I also suggest splitting the new python script in 2 files: one with the code and another one with the content in |
This PR is the first step: it introduces a script to generate the variables for
common_versions.sh
. Next steps are up for discussion (making it part of rebase).