jlewi / hydros

hydros automates hydrating and committing configuration
Apache License 2.0
4 stars 0 forks source link

Better handling of dependencies and ordering in RepoController #60

Closed jlewi closed 7 months ago

jlewi commented 7 months ago

59 Added a repo controller which finds Image resources and ManifestSync's in a repository and builds them.

ManifestSync resources can depend on Image resources but right now we don't infer the dependency graph and try to order things. We just rely on retries to fix things.

We should be able to automatically infer the ordering. The Image resources define the images they create. From a ManifestSync its possible to find the images they depend on.

A quicker solution might be to order all the image builds before the manifestsync

jlewi commented 7 months ago

Actually I don't think we want to do this given the direction we are moving is to make them individual controllers https://github.com/jlewi/hydros/blob/main/docs/design_declarative_cd.md