Skip to content

Draft: experiment with volume cache

Arvid Jakobsson requested to merge arvid@test-volume-cache into master

Trying to figure out if cache mounts can be used in our CI.

Cache mounts allow to cache stuff like downloaded packages. I'd like to check if it can be used to cache downloaded packages (opam, apt, npm), but also potentially to store dune/sccache/ccache caches.

To check whether it's available, I create a small image that populates a cache mount. Then I run it 2 * 100 times and count the number of cache hits.

The conclusion is cache misses all around ...

Edited by Arvid Jakobsson

Merge request reports