Skip to content

Add a cleanup job for docs review apps

Marcel Amirault requested to merge clean-up-docs-review-apps-too into master

What does this MR do?

Taking inspiration from the review app cleanup task, this tries to get the ball rolling to do the same for docs review apps, with review-docs environments. We can stop anything older than 20 days, and delete older than 30 days.

We have 22k+ ancient review apps that are filling up the project with useless refs that apparently get downloaded every time you do certain Git actions (pull, fetch, clone?):

Screen_Shot_2021-08-23_at_13.26.03

Related issues

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Marcel Amirault

Merge request reports