Leverage Scores to implement the ApplicationFeatures #103
Labels
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: NationTech/harmony#103
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A
Score
is meant to be a very flexible, reusable component in Harmony. It describes a very specific action we apply on ourTopology
to prepare our environment as needed.An
ApplicationFeature
is a higher level concept used to enrich how anApplication
is supposed to run on our environment.Current behavior
Currently, as we can see for example in the ContinuousDelivery feature, each step is "harcoded" within the feature. It could be greatly improved if it was leveraging
Scores
to apply these actions instead. This could provide better progress tracking within the CLI as well, thanks to the automatic progress tracking of Scores.Expected behavior
Add new scores when needed and use them to ensure the existing
ApplicationFeature
are installed properly.For example for
ContinuousDelivery
, we could have aPackageHelmChartScore
,PushHelmChartScore
,BuildDockerImageScore
,PushDockerImageScore
, etc.