Caching on Gitlab Runner CI
The GitLab CI runners can save artifacts and use it throughout the pipeline. This can help in speeding up the build time. By default, artifacts have an expiry time of 30 days unless specified otherwise.
We wanted to explore caching and uploading to a cloud bucket like Google Cloud Storage. I was wondering what would be the expiry time of that cache on that cloud bucket. Is it determined by the runner or the cloud storage bucket? Does the cache live on forever?
The question is for a self-managed GitLab. I was wondering if anyone has experienced this question before.