-
Notifications
You must be signed in to change notification settings - Fork 39
Switching KMM to work with the new build/sign flow #1060
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
Switching KMM to work with the new build/sign flow #1060
Conversation
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: yevgeny-shnaidman The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
✅ Deploy Preview for kubernetes-sigs-kmm ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #1060 +/- ##
==========================================
- Coverage 79.09% 74.63% -4.46%
==========================================
Files 51 77 +26
Lines 5109 6865 +1756
==========================================
+ Hits 4041 5124 +1083
- Misses 882 1529 +647
- Partials 186 212 +26 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
f542188 to
bf14330
Compare
| //[TODO] - update the preflight flow with the MIC/MBSC implementation and then uncomment the preflight conroller | ||
| /* | ||
| preflightStatusUpdaterAPI := preflight.NewStatusUpdater(client) | ||
| preflightAPI := preflight.NewPreflightAPI(client, buildAPI, signAPI, registryAPI, preflightStatusUpdaterAPI, kernelAPI) | ||
| if err = controllers.NewPreflightValidationReconciler(client, filterAPI, metricsAPI, preflightStatusUpdaterAPI, preflightAPI).SetupWithManager(mgr); err != nil { | ||
| cmd.FatalError(setupLogger, err, "unable to create controller", "name", controllers.PreflightValidationReconcilerName) | ||
| } | ||
| if err = controllers.NewPreflightValidationReconciler(client, filterAPI, metricsAPI, preflightStatusUpdaterAPI, preflightAPI).SetupWithManager(mgr); err != nil { | ||
| cmd.FatalError(setupLogger, err, "unable to create controller", "name", controllers.PreflightValidationReconcilerName) | ||
| } | ||
| */ |
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.
Can we do it in the same PR? If you insist on keeping small changes then I would do a multi-commit PR but I think it makes sense to put all of the following inside the same PR and it will be easier for me to review as well:
- Create the new controllers
- Remove the old controllers
- Use the new buildsign pkg everywhere needed
- Remove the old build/sign packages
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.
it would be better to do it in a separate PR: preflight is not a major priority, and i am not yet sure how many changes i would need to make in order to make it work.
changing the manager's main to use MIC and MBSC reconcilers instead of BuildSignReconciler
bf14330 to
3ce9831
Compare
|
/lgtm |
changing the manager's main to use MIC and MBSC reconcilers instead of BuildSignReconciler