gitlab runner in kubernetes gradle build
Hi all.
We've been trying to use gitlab runner in kubernetes to make a gradle build.
Everything works fine and the build goes ok.
Our problem here is that all the dependencies are downloaded in every single build making it take a long time. We believe this is because on every new build there is a new kubernetes POD.
We tried some caching mechanism from both kubernetes and gitlab documentations but we couldn't make it work as we expected yet.
Can you give us some tips on what to try next so there is no need to download all the dependencies every time a build happens making it faster?
Thanks for your support.
Carlos