I am currently researching different caching options/ideas for drone and saw that the topic is discussed also quite often in gitter.
So I thought this would be a good place to share and discuss various caching options for drone.
I can see here different use-cases that might require caching:
- caching of dependencies/packages required for builds (i.e. python packages / composer packages / node packages).
- caching/saving of build artifacts
Officials plugins I have found so far:
And drone-cache which receives a very promising rewrite by the community.
Some other ideas that came to my mind - since currently all drone agents are running on the same vm:
- mounting a local folder (would require special permission? concurrency issues?)
- mounting a nfs/samba share ?
- using data-volumes
What do you personally use?
What is your experience so far with it?
Do you have any other ideas as the mentioned?
I will update the post, once I was able to gather some more information - and will try to share my experience