summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-10-01 11:23:37 +0200
committerRémy Coutable <remy@rymai.me>2018-10-01 14:08:40 +0200
commit159b650d746426f0713b12cecbfb409ee198213f (patch)
tree1e83f46ce2fdd415596cfd7fa21c436d9dae648c /scripts
parentf13636b6d11ff61bd5b840fba5ae0bbe5f77a95e (diff)
downloadgitlab-ce-159b650d746426f0713b12cecbfb409ee198213f.tar.gz
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: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/review_apps/automated_cleanup.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/review_apps/automated_cleanup.rb b/scripts/review_apps/automated_cleanup.rb
index ea53f89c844..a5f0ec372d8 100755
--- a/scripts/review_apps/automated_cleanup.rb
+++ b/scripts/review_apps/automated_cleanup.rb
@@ -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)