Commit 9d88152d authored by Marin Jankovski's avatar Marin Jankovski

Merge branch 'be-more-agressive-cleaning-up-review-apps' into 'master'

Cleanup review apps more rapidly

See merge request gitlab-org/gitlab-ce!22019
parents 1b7fd53a 159b650d
...@@ -97,13 +97,13 @@ end ...@@ -97,13 +97,13 @@ end
automated_cleanup = AutomatedCleanup.new automated_cleanup = AutomatedCleanup.new
timed('Review apps cleanup') do 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 end
puts puts
timed('Helm releases cleanup') do timed('Helm releases cleanup') do
automated_cleanup.perform_helm_releases_cleanup!(days: 7) automated_cleanup.perform_helm_releases_cleanup!(days: 3)
end end
exit(0) 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