Skip to content

ci: Add a `packages-cleanup` job to clean up `assets` packages not downloaded in the last 7 days

What does this MR do and why?

This adds a packages-cleanup job to clean up assets packages that weren't downloaded in the last 7 days. If the package was never downloaded, we keep it for at least 7 days as well.

I took the opportunity to improve a bit the Review Apps automated_cleanup.rb file, and the job still runs successfully: https://gitlab.com/gitlab-org/gitlab/-/jobs/3126360136

How to set up and validate locally

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #375606 (closed)

Edited by Rémy Coutable

Merge request reports

Loading