support for object storage in gitlab:cleanup:orphan_job_artifact_files

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

Problem to solve

Customer (internal link) running helm deployment of GitLab with object storage encountered issues with missing artifacts, and Support directed them to run

gitlab-rake gitlab:cleanup:orphan_job_artifact_files

docs

Support analysis by @amulvany:

it won't work for object storage

This rake task uses find to peruse the filesystem and create a list of orphans.

It will then remove them with FileUtils.rm_rf.

It didn't apply for the specific issue the customer was facing, but for situations customers may face where they have orphaned objects in the object storage, they'll need this to work.

Intended users

Further details

Proposal

Permissions and Security

Documentation

Availability & Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited by 🤖 GitLab Bot 🤖