How to Clean Up GitLab Artifacts

Ben Lobaugh
2 min readOct 27, 2022
Photo by Pankaj Patel on Unsplash

If you are running into GitLab storage quota limits there is a high likelihood that the usage is coming from job artifacts. These artifacts contain information about the job itself, such as the files an application built, code scan results, etc. In my experience, there is usually no need to keep the old job runs past a certain age. I typically like to keep around a month of job runs.

Ben Lobaugh

Director of Engineering at Mindsize. 20+ year technology veteran. Providing leadership insights, mentorship, and coaching to new and existing leaders.