-
Epic
-
Resolution: Done
-
Minor
-
None
-
Consolidate code of server-foundation core repos.
-
False
-
None
-
False
-
Green
-
To Do
-
0% To Do, 0% In Progress, 100% Done
Epic Goal
...
Why is this important?
We currently have different component repos:
- registration
- work
- placement
- registration-operator
clusteradm- addon-framework
It is hard to do e2e tests with many components and hard to do dependency check. I propose,we consolidate the code in these repos to one single repo:
- code in the work/registration/placement/operator/
clusteradmcomponent is merged into https://github.com/open-cluster-management-io/OCM - split addon-framework to pure library code and addon-manager code. The addon-manager code is also put into https://github.com/open-cluster-management-io/OCM
- archive the the independent repo
After that we will have
- https://github.com/open-cluster-management-io/api
- https://github.com/open-cluster-management-io/OCM
- https://github.com/open-cluster-management-io/addon-framework (just library, remove unnecessary deps)
With this consolidation, we will have the benefit that
- we do not need webhook per component, we can have one single webhook server
- we can build hub and agent as one single binary
- easier e2e testing
- better understanding and dev experience for the contributor
Acceptance Criteria
This epic focuses on building images, it promised to provide the 4 images by the ocm repo.
Dependencies (internal and external)
The epic depends on the community issue: https://github.com/open-cluster-management-io/OCM/issues/128
More specifically, we need to wait for the branch code-consolidate merge into the main branch.
Previous Work (Optional):
Clarify the impact and onboard process with the CICD squad.
Done Checklist
- CI - CI is running, tests are automated and merged.
- Release Enablement <link to Feature Enablement Presentation>
- DEV - Upstream code and tests merged: <link to meaningful PR or GitHub
Issue> - DEV - Upstream documentation merged: <link to meaningful PR or GitHub
Issue> - DEV - Downstream build attached to advisory: <link to errata>
- QE - Test plans in Polarion: <link or reference to Polarion>
- QE - Automated tests merged: <link or reference to automated tests>
- DOC - Downstream documentation merged: <link to meaningful PR>