tilt icon indicating copy to clipboard operation
tilt copied to clipboard

Run docker builds while waiting on resource dependencies

Open rpocase opened this issue 5 years ago • 4 comments

I have a Tiltfile that contains three docker builds. Each of these is associated with a k8s_resource that has at least one dependency. The upstream resources take quite a long time for initial setup (~10 minutes). This setup is not particularly process intensive, so I would like to be able to start the docker build processes while the dependent resources are set up.

Combined with the just released parallel build feature, this has the potential to reduce clean slate upstart by around 5-10 minutes.

rpocase avatar Jan 13 '20 18:01 rpocase

+1, I noticed the same thing after we started using the new max_parallel_updates

andymartin-sch avatar Jan 13 '20 19:01 andymartin-sch

Yes! Thanks for filing. We're collecting feedback on this post-launch, and this might be one of the first follow-ups we do.

nicks avatar Jan 13 '20 23:01 nicks

We're doing a major rewrite of Tilt as an apiserver that reconciles Image builds very differently, so I'm hoping this will get fixed when we move to that system. (We've already got Kubernetes applys on that system - https://api.tilt.dev/kubernetes/kubernetes-apply-v1alpha1.html - and Image builds is the next big one)

nicks avatar Jul 09 '21 17:07 nicks

Any update on this one @nicks or known workarounds? This would be huge!

Meemaw avatar Sep 14 '22 09:09 Meemaw