Scores own deploy. harmony_app is identity, images, context, and HarmonyApp→Scores. Authoring DX lives in dx. Compose/chart/Application model and the Helm render test are gone.
741 B
741 B
Application Scores
Apps implement HarmonyApp and return Scores.
There is no .with(...) capability menu and no ComposeDeploy /
Application god-object.
Compose the Scores that already exist: K8sPostgreSQLScore,
FleetDeploymentScore, HostProcessScore, K8sDeploymentScore, …
async fn scores(&self, ctx: &AppContext, images: &ImageRefs) -> Result<Vec<Box<dyn Score<T>>>, AppError> {
Ok(vec![
Box::new(K8sPostgreSQLScore::new(ctx.namespace()).cluster_name("app-db")),
Box::new(K8sDeploymentScore { /* … */ }),
])
}
See Application CLI for ship / deploy / status /
logs. Authoring DX (one component, one type) is ADR-029.