deis / builder

Git server and application builder for Deis Workflow
https://deis.com
MIT License
40 stars 41 forks source link

Deis builder should do best effort to keep git checkout #471

Open deis-admin opened 7 years ago

deis-admin commented 7 years ago

From @nathansamson on March 22, 2015 15:0

I udnerstand that deis builder will throw away all git checkouts it has on a reboot / node movement.

Problem is when pushing a branch with rather some history, this might take a while every time.

I think deis builder should do a best (better than currently) to keep a quick checkout of branches. I am thinking of a new container / volume that has all repos, that can be fetched. Ofcourse in case that is down, or the repo isn't available there it must keep current behaviour to just repush the branch from scratch..

This will be even more important when deis builder is scalable (I hope there are plans for this) in large clusters

Hreoku displays "fetching branch" when pushign to an existing app, so I assume they push branches to a central (but distributed) location, fetch it locally from the datacenter (which should be fast), and then accepts new pushes from there on. I hope we can achieve something similar...

Copied from original issue: deis/deis#3355

deis-admin commented 7 years ago

From @carmstrong on April 9, 2015 21:9

I think this could be achieved by having builder consume a deis-store-volume mount. This is an optimization that we could see being optional for users who want this performance improvement.

universlabs commented 7 years ago

This is really important for teams to ensure people don't push changes that are behind the head of the branch, avoiding accidental regression

Cryptophobia commented 6 years ago

This issue was moved to teamhephy/builder#21