Caches


Caches

Transport temporary data between jobs using caching

Pipelines should assume that the cache must be rebuilt

The cache keyword defines 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

No hands-on because…

Runner local cache requires persistent volume for Docker executor

Caches require an object store…

… with an S3-compatible API

Self-hosted option using MinIO