3 ms·
Someone asked me if I used Google's Skaffold (save+push to kubernetes), and I giggled and told we mainly use Java and Spring even boot takes more than 10 second
by CSDude 8y ago
Someone asked me if I used Google's Skaffold (save+push to kubernetes), and I giggled and told we mainly use Java and Spring even boot takes more than 10 seconds and building also takes around 10 seconds, so if you do not have .m2 caches, it would take much more time.
Dependency caches and already built components, in all languages (Go, Java, Nodejs) is always a problem for us in Docker in our CI/CD, glad to see such solutions coming up
- akvadrako 8y agoOften you can just mount a persistent volume where the cache should go.
- CSDude 8y agoWhat do you do when they are shared and remote?
- elFarto 8y agoI had this problem with Gitlab until I worked out how to use it's built in cache mechanism to save the .m2 directory, the bit I was missing was to force maven to use a different location for that directory.
- rckrd 8y agoI work on skaffold and with the jib folks at Google. Why not have the best of both worlds? :) The code that lives here will use jib for the build and skaffold for the deploy, so you get those really fast (and native) workflows. https://github.com/GoogleContainerTools/skaffold-tools-for-java https://github.com/GoogleContainerTools/skaffold-tools-for-j...