diff options
author | Rémy Coutable <remy@rymai.me> | 2018-10-01 11:23:37 +0200 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2018-10-01 14:08:40 +0200 |
commit | 159b650d746426f0713b12cecbfb409ee198213f (patch) | |
tree | 1e83f46ce2fdd415596cfd7fa21c436d9dae648c /scripts | |
parent | f13636b6d11ff61bd5b840fba5ae0bbe5f77a95e (diff) | |
download | gitlab-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-x | scripts/review_apps/automated_cleanup.rb | 4 |
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) |