Improve the scripts/review_apps/automated_cleanup.rb script
1. We now sort deployments by `desc`
1. We only check deployments created in the last `days_for_delete * 5`
days.
1. The `schedule:review-cleanup` job was renamed to
`schedule:review-cleanup` and a new `manual:review-cleanup` job was
created to allow to perform the cleanup in other contexts than
schedules (e.g. MRs).
Signed-off-by: Rémy Coutable <remy@rymai.me>
Showing
Please register or sign in to comment