-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
⚠️ Refactor clusterctl alpha rollout #7988
⚠️ Refactor clusterctl alpha rollout #7988
Conversation
Hi @hiromu-a5a. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
Following the other |
/ok-to-test |
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'm generally +1 for the change, but let's wait for a pass from clusterctl reviewers first.
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.
Thanks for the contribution! I think it makes sense to make the roll out options more fine-grained.
/lgtm
LGTM label has been added. Git tree hash: 8d309115c279eea1e6424f31c05bd1e5be57c1c4
|
Only thing seems to be that the main test is failing btw. |
/retest |
last nits from my side assuming test failures are flakes. |
ce26f12
to
f12b0ef
Compare
f12b0ef
to
efe3728
Compare
Thank you for your prompt reply! I added note. I have one question. The failing test
|
@hiromu-a5a: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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. I understand the commands that are listed here. |
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 have one question. The failing test pull-cluster-api-apidiff-main shows the changes are incompatible as follows. Any appropriate ways to solve this?
You're right that the guarantees for clusterclt are different 🙂. The test will fail, but that won't block this PR getting merged. In this case it acts more as a signal to reviewers to consider what is being changed in the API.
/lgtm
LGTM label has been added. Git tree hash: fdbdd037ae87775fe04e122b4d9e73b3cfffb4eb
|
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.
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fabriziopandini 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 |
/hold |
/hold cancel |
What this PR does / why we need it:
A tiny refactoring of the RolloutOptions structure used by clusterctl alpha rollout. Defined RolloutOptions for each command.
The current codes for rollout reuses a common RolloutOptions structure among all kinds of rollout commands, i.e., undo, resume, restart and pause. However, the required inputs for those commands might be different in the future extension. From this perspective, the structure should be defined separately for each command.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Tracking Issue:
#3439