Clearing the cache manually gitlab-ci. yml , you can easily clear the cache via GitLab's UI: Navigate to your project's CI/CD > Pipelines page. Click on the Clear Runner caches button to clean up the cache.
Where is gitlab cache stored?
By default, the cache is stored on the machine where GitLab Runner is installed. The location also depends on the type of executor. Locally, under the gitlab-runner user's home directory: /home/gitlab-runner/cache/<user>/<project>/<cache-key>/cache.
What is gitlab runner cache?
It's a set of files that a job can download before running and upload after execution. By default, the cache is stored in the same place where GitLab Runner is installed.
How long does gitlab cache last?
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.