feat: apply sealed installation plans without interactive setup

This commit is contained in:
Codex
2026-10-06 15:45:18 +02:00
parent c3c9f509bf
commit 8b9a086fd6
31 changed files with 1542 additions and 45 deletions
+10
View File
@@ -29,6 +29,16 @@ func CheckCompose(ctx context.Context, runner Runner, installation config.Instal
args = append(args, "-f", path)
}
args = append(args, "config", "--format", "json")
return checkResolvedCompose(ctx, runner, args, m, platform)
}
// CheckInstalledCompose includes generated projections and any durable image override.
func CheckInstalledCompose(ctx context.Context, runner Runner, installation config.Installation, m Manifest, platform string) Report {
return checkResolvedCompose(ctx, runner, installation.ComposeArgs("config", "--format", "json"), m, platform)
}
func checkResolvedCompose(ctx context.Context, runner Runner, args []string, m Manifest, platform string) Report {
r := NewReport()
result, err := docker(ctx, runner, args...)
var effective struct {
Services map[string]struct {