GitRoot

craft your forge, build your project, grow your community freely

Executor need cache

Today pipeline is slow because there is no cache, I have added a way to bind directory from external to internal in the bwrap executor, and so with a good configuration mise binaries can be cached.

But this solution not work with container or ssh and it is dependant on administraot of instance.

Add a cache concept to keep files from job to job. Maybe add a key cache to know what user want to cache based on branch or not.

Add a concept to delete the cache, when, how…


Cache works with:

1configuration:
2  exec:
3    cache:
4      - key: homeCache
5        path: /home/.cache
6        readOnly: false

But we need to add variables for key like $branch and a way to delete it. And ssh have no cache.