-
Notifications
You must be signed in to change notification settings - Fork 193
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
OTA-861: inhibit the 2nd minor version upgrade #1079
Conversation
@hongkailiu: This pull request references OTA-861 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.18.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. |
/test e2e-aws-ovn-techpreview |
fab4595
to
c985205
Compare
/test e2e-aws-ovn-techpreview |
Hello @hongkailiu 👋 $ git log --oneline
c9852051 (HEAD -> OTA-861) inhibit the 2nd minor version upgrade
08ece187 inhibit the 2nd minor version upgrade Could you please update the commits and provide some additional information in them as well? The additional information (even a little) would be greatly appreciated 🙌 |
b751dc9
to
1eb2598
Compare
@hongkailiu: This pull request references OTA-861 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.18.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. |
I'll sit this one out and leave it for David to review 😉 |
Petr, back to status API! |
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 would like to discuss the wording of the precondition check 🙌
Other than that, the PR seems to be good to merge.
tldr; everything seems to be working as expected 🙌I wanted to learn something new by testing this PR. I have created three dummy releases. All these releases contain this PR and only differ in their version. I had to force the upgrades, as the releases were not signed. Upgrade from
Checking events:
Only Upgrade from
Checking events:
The new precondition check does not fail when redirecting a partial minor upgrade to a newer patch version in the same minor version. Upgrade from
Checking events:
The precondition check |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: hongkailiu The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/label tide/merge-method-squash |
This PR prevents the cluster to be upgraded to x.y+2.z1 while the upgrade to x.y+1.z2 from x.y.z3 is still in progress.
I was wondering how this one can be tested (even after merging) without newer Y-releases.
I feel it is more important to see what would happen without I have to some questions about the CVO code:
|
I was wondering this as well. I have managed to do the following; however, there may be a more efficient way.
It is more important; however, I am not sure how to accomplish this. To sign the release using a custom private key and have the CVO check the release accordingly. That part of the CVO is not known to me very well. Help from our colleagues would be great. Let's ask them. It would be great to learn this 👀 I have tested the PR best to my current capabilities and time. I trust our QE to be thorough regarding the verification.
I'll get back to you 👍 |
/retest-required |
Thanks for the cmds creating a release with PR. |
@hongkailiu: all tests passed! 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. |
/hold |
/close |
@hongkailiu: 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-sigs/prow repository. |
This PR prevents the cluster to be upgraded to x.y+2.z1 while
the upgrade to x.y+1.z2 from x.y.z3 is still in progress.