Skip to content

Backend: Implement CI cache:expire_in to allow runner cache to be expired and replaced after expire date

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Workaround

You can clear the runner cache by calling the new runnerCacheClear GraphQL mutation. (Available from GitLab v17.0)

Problem

We have been using GitLab cache to store modules but it has come up we want to often rebuild the cache for our static branches after a given time. The only way to do this is to manually delete the cache or click the clear cache. For these branches just like the artifacts:expire_in we would think a cache:expire_in will accomplish our needs.

gitlab-ce~10230929

Edited by 🤖 GitLab Bot 🤖