-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Reducing wait time for cold caches with large apps #81
Comments
Distributing cache across hosts would be great. For that to work, you'd need a list of images to save and then some code in the |
So @tonistiigi just released https://github.com/tonistiigi/buildcache (moby/moby#20316 (comment)) which we could potentially use |
Codeship has a blog post explaining how they tackled this problem https://blog.codeship.com/building-a-remote-caching-system/ |
This will be solved by #234. It could also be solved by using the new docker 1.13 |
I'm seeing some recursion here between this Issue and #234. Is the shared layer cache support being handled? |
@jdotjdot you should be able to use the new |
We don't use docker-compose is the issue. Is there another way?
…On Tue, Jul 11, 2017 at 23:02 Lachlan Donald ***@***.***> wrote:
Closed #81
<#81>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABRHQSHsFmFUD6LgxxZtSUCfpK8bMNrIks5sNDdIgaJpZM4JGnPX>
.
|
Ah, right, you don't use docker at all? Or just not docker-compose? |
Docker compose. We use docker for everything.
…On Tue, Jul 11, 2017 at 23:07 Lachlan Donald ***@***.***> wrote:
Ah, right, you don't use docker at all? Or just not docker-compose?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#81 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABRHQe4UPTkSz6lRyLXhdHBQJAmmqwb4ks5sNDhYgaJpZM4JGnPX>
.
|
You should be able to make use of the |
Currently the best way to handle a large app that takes ages to build is to have two separate instances of the stack: builders and runners, and https://github.com/buildkite-plugins/docker-compose-buildkite-plugin to have a
build
step that runs before the steps.The builder doesn't autoscale, sits there with a warm docker cache, and pushes to a registry. The test steps run on the
runners
queue, and pulls from docker hub without doing any git clone at all.The pipeline looks like this:
A simpler setup would be to use something like http://blog.runnable.com/post/145362675491/distributing-docker-cache-across-hosts to make the cache mostly invisible, and require no separate queue or pipeline config changes.
The text was updated successfully, but these errors were encountered: