Improve the scripts/review_apps/automated_cleanup.rb script
What does this MR do?
- We now sort deployments by
desc
- We only check deployments created in the last
days_for_delete * 5
days. - A new
manual:review-cleanup
job was created to allow to perform the cleanup in other contexts than schedules (e.g. MRs).
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. -
Tested in all supported browsers
Closes #34753 (closed).
Edited by Rémy Coutable