From 167b8bd1400286aad566daf73cc59a3fb23aa999 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Tue, 13 Dec 2022 08:59:16 +0000 Subject: [PATCH] Keep GitLab backups for 2 weeks --- ansible/roles/gitlab/files/gitlab.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/gitlab/files/gitlab.rb b/ansible/roles/gitlab/files/gitlab.rb index 7aaea5e..a17e955 100644 --- a/ansible/roles/gitlab/files/gitlab.rb +++ b/ansible/roles/gitlab/files/gitlab.rb @@ -36,6 +36,7 @@ gitlab_rails['gitlab_email_from'] = "{{ gitlab_from_email }}" gitlab_rails['artifacts_path'] = "/mnt/gitlab-bulk/artifacts" gitlab_rails['backup_path'] = "/mnt/gitlab-bulk/backups" +gitlab_rails['backup_keep_time'] = 60 * 60 * 24 * 14 # 14 days # Registry registry_external_url "https://registry.git.theorangeone.net"