Commit 159b650d authored by Rémy Coutable's avatar Rémy Coutable

Cleanup review apps more rapidly

- Stop review app's environment after 2 days
- Delete review app's environment after 3 days
- Delete Helm release after 4 days
Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent f13636b6
......@@ -97,13 +97,13 @@ end
automated_cleanup = AutomatedCleanup.new
timed('Review apps cleanup') do
automated_cleanup.perform_gitlab_environment_cleanup!(days_for_stop: 5, days_for_delete: 6)
automated_cleanup.perform_gitlab_environment_cleanup!(days_for_stop: 2, days_for_delete: 3)
end
puts
timed('Helm releases cleanup') do
automated_cleanup.perform_helm_releases_cleanup!(days: 7)
automated_cleanup.perform_helm_releases_cleanup!(days: 3)
end
exit(0)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment