Mounting a volume is what you'd be expected to do. Mounting the home volume is also something you may want to consider doing (in order to cache things like maven/gradle/npm packages). Additionally there is support for git shallow clone which may help with reducing the overhead for some repositories.
- Ketan On Fri, Apr 26, 2019 at 10:14 PM Roberto Yudice <yudicerobert...@gmail.com> wrote: > It looks like when you are using elasticagents it has to fully clone the > whole repository on every build since the container is destroyed, we have > some big repos and this adds to our build time. > > What would be the best way to avoid having to reclone the whole repo on > every build when using elasticagents? I assume mounting a volume would work? > > -- > You received this message because you are subscribed to the Google Groups > "go-cd" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to go-cd+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to go-cd+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.