-
Notifications
You must be signed in to change notification settings - Fork 562
WIP: Catalog Source weighting for dependency resolution #1681
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
WIP: Catalog Source weighting for dependency resolution #1681
Conversation
Added a resolver to hook up the new sat solver package. This enables much more complex dependency resolution and initially gives users the ability to define dependencies based on operator version instead of purely GVK dependencies For now, on a command line feature flag. Disabled by default
Currently, the dependencies info is extracted from api.Bundle and add to VersionDependencies field of Operator. As a result, that field is always empty. The resolver will not be able to resolve package dependencies. Signed-off-by: Vu Dinh <[email protected]>
If GVK dependencies exist in bundle, extract those dependencies and add them as RequiredAPIs in operator. Signed-off-by: Vu Dinh <[email protected]>
this should make it simple to remove the old resolver when the time is right
This is only a workaround to reduce test noise while this feature is under development. It'll need to be revisited soon.
Signed-off-by: Harish <[email protected]>
Skipping CI for Draft Pull Request. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: harishsurf 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 |
@harishsurf: PR needs rebase. 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. |
807be79
to
e74f576
Compare
Work is done as part of #1682 |
Description of the change:
Motivation for the change:
Reviewer Checklist
/docs