service deployment makefile cleanup #921
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What this PR does
Lower a cognitive load when trying to understand what components we have and how are they deployed via the makefile:
cs
forcluster-service
,hypershift
forhypershiftoperator
) - I don't want to remember multiple different names for a component. To keep things straightforward, I would like to insist on a single name of a component to be used everywhere.maestro
covering agent, server and registration - we need to handle a single component as a standalone unit in all contexts from the beginning, it will make the deps more visible.Making the svc deploy script more robust and easy to debug in case of problems (there were few explicit checks, but few others were not handled, and in case of a failure, it would not be clear what went wrong).
Ideally, we have some README which explains how we define and deploy components, which could be started in this PR if needed.
Jira: related to https://issues.redhat.com/browse/ARO-12810
Special notes for your reviewer