jenkins-x-buildpacks / jenkins-x-classic

Classic Build Pack for libraries (CI + Release but no CD) for releasing Java, Maven, Gradle, NPM modules but without deploying on any specific cloud or infrastructure
Apache License 2.0
16 stars 45 forks source link

caching steps in a pipeline #21

Open sstubbs opened 4 years ago

sstubbs commented 4 years ago

Hi,

Perhaps this is the wrong place to ask but what is best practice to implement caching in a pipeline. I'm using a slightly modified version of the rust pipeline. It works but is extremely slow. I am trying to add https://github.com/mozilla/sccache however each time the pipeline runs its reinstalling rust and sccache which defeats the purpose of using sccache.

sstubbs commented 4 years ago

I've read the docs on pod templates and added an issue to do with that. https://github.com/jenkins-x/jenkins-x-platform/issues/6726