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
Bug 1810642: Snapshot feature for is part of 4.5v #4655
Bug 1810642: Snapshot feature for is part of 4.5v #4655
Conversation
On small PRs, one gets picky.
This is for OCS 4.5 |
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 think it would be better if we parse 4.4 take the 4 and guard the value to be > 4. That way we will have lower bound guards rather than having guard for every version.
/retitle Bug 1810642: Snapshot feature for is part of 4.5v |
@a2batic: This pull request references Bugzilla bug 1810642, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 3 validation(s) were run on this bug
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. |
const version = subscription?.status?.currentCSV; | ||
return version && version.includes('ocs-operator.v4.4'); | ||
return version && version.includes('ocs-operator.v4.5'); |
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.
Something like this maybe:
version.split('.')[2] >= 5
@@ -19,19 +19,19 @@ export const detectIndependentMode: ActionFeatureFlagDetector = (dispatch) => | |||
}, | |||
); | |||
|
|||
export const OCS_VERSION_4_4_FLAG = 'OCS_VERSION_4_4'; | |||
export const OCS_VERSION_4_5_FLAG = 'OCS_VERSION_4_5'; |
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.
export const OCS_VERSION_4_5_FLAG = 'OCS_VERSION_4_5'; | |
export const OCS_4_5_AND_ABOVE_FLAG = 'OCS_4_5_AND_ABOVE'; |
7a500d1
to
a23ebd7
Compare
/lgtm |
/cherry-pick release 4.4 |
@a2batic: once the present PR merges, I will cherry-pick it on top of release 4.4 in a new PR and assign it to you. 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. |
/test e2e-gcp-console |
a23ebd7
to
9fad83a
Compare
/test e2e-gcp-console |
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.
Minor changes
@@ -20,19 +20,20 @@ export const detectIndependentMode: ActionFeatureFlagDetector = (dispatch) => | |||
}, | |||
); | |||
|
|||
export const OCS_VERSION_4_4_FLAG = 'OCS_VERSION_4_4'; | |||
export const OCS_VERSION_4_5_AND_ABOVE_FLAG = 'OCS_VERSION_4_5_AND_ABOVE_FLAG'; |
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 you look at the flag name the value does not have flag in it.
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.
We are detecting 4_5. No need for the above part.
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.
ack
9fad83a
to
bf31b8a
Compare
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: a2batic, bipuladh 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 |
/retest Please review the full test history for this PR and help us cut down flakes. |
1 similar comment
/retest Please review the full test history for this PR and help us cut down flakes. |
@a2batic: All pull requests linked via external trackers have merged. Bugzilla bug 1810642 has been moved to the MODIFIED state. 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. |
@a2batic: cannot checkout release 4.4: error checking out release 4.4: exit status 1. output: error: pathspec 'release 4.4' did not match any file(s) known to git. 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. |
/cherry-pick release-4.4 |
@a2batic: new pull request created: #4689 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. |
Moves snapshot feature to 4.5 for OCS.