-
Notifications
You must be signed in to change notification settings - Fork 22
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
KSPACE-20: Drop the distinction between host & member ToolchainClusters #359
KSPACE-20: Drop the distinction between host & member ToolchainClusters #359
Conversation
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## master #359 +/- ##
==========================================
- Coverage 76.22% 75.99% -0.24%
==========================================
Files 44 44
Lines 1708 1683 -25
==========================================
- Hits 1302 1279 -23
+ Misses 354 353 -1
+ Partials 52 51 -1
|
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 need to make sure that these changes do not break anything.
Please open PRs which uses this updated common for host, member, reg-service, sandbox-sre and e2e tests.
Be aware of that you can't pair multiple PRs with the same e2e test PR though.
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.
Apart from the comments that @alexeykazakov made, I think it is going to be more important to take a look at how these functions are used in the operators as well as in the unit and e2e tests and only then decide about how to drop the cluster type. I am afraid that the changes outside of toolchain-common
are going to be much larger.
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
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.
mostly LGTM, just some optional suggestions
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 looking at my comments. I have few minor things
Also I was double checking on the usage of cluster.GetHostCluster
and cluster.GetMemberClusters
and seems like the former just returns one toolchaincluster resource. That's the only difference. So I was wondering if we should have just one generic one ( I think it's something that came out in some other comments in this PR ) . We can do that as a follow up PR if we think it makes sense.
signed-off-by: Feny Mehta <[email protected]>
Yes i intend to do that in separate follow-up PR once this is merged |
Signed-off-by: Feny Mehta <[email protected]>
Signed-off-by: Feny Mehta <[email protected]>
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.
Nice Job 🏅 🚀 👏
Thanks for addressing my comments!
Friendly reminder - please wait also for approval from the other reviewers and approval of the related PRs before merging.
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.
Looks good, let's just rename one variable to not confuse people
Signed-off-by: Feny Mehta <[email protected]>
@MatousJobanek right, updated 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.
cool, thanks for the extra changes. 🚀
Let's start merging the PRs 👍 I believe that you have approval for all of them, just don't forget to update the dependency to toolchain-common as soon as you merge this PR
Quality Gate passedIssues Measures |
5cafefa
into
codeready-toolchain:master
This is related to Drop the distinction between host & member ToolchainClusters
Related PRs:
Host-Operator - codeready-toolchain/host-operator#971
Member-Operator - codeready-toolchain/member-operator#531
Registration-Service - codeready-toolchain/registration-service#402
Toolchain-e2e - codeready-toolchain/toolchain-e2e#893
Sandbox-sre - https://github.com/codeready-toolchain/sandbox-sre/pull/1524