Transport temporary data between jobs using caching
Pipelines should assume that the cache must be rebuilt
The cache
keyword defines what and when to push and pull
One job downloads or generates data and pushes to the cache
Subsequent jobs can pull from the cache to hit the ground running
Examples for many programming languages
Local on the same runner with Docker or shell executor
Distributed with an S3-compatible backend (e.g. AWS S3 , MinIO , Ceph )
See chapter caches
Clear runner caches
in the upper right cornerFor some executors, the runner stores the cache locally when not configured otherwise
The local cache is located in the following directories:
/home/gitlab-runner/cache/<user>/<project>/<cache-key>/cache.zip
/var/lib/docker/volumes/<volume-id>/_data/<user>/<project>/<cache-key>/cache.zip