Add latest changes from gitlab-org/gitlab@master

This commit is contained in:
GitLab Bot
2022-01-11 15:15:55 +00:00
parent 22391da126
commit a8281ac434
56 changed files with 642 additions and 223 deletions

View File

@ -2,7 +2,7 @@
module Backup
class Manager
ARCHIVES_TO_BACKUP = %w[uploads builds artifacts pages lfs terraform_state registry].freeze
ARCHIVES_TO_BACKUP = %w[uploads builds artifacts pages lfs terraform_state registry packages].freeze
FOLDERS_TO_BACKUP = %w[repositories db].freeze
FILE_NAME_SUFFIX = '_gitlab_backup.tar'

13
lib/backup/packages.rb Normal file
View File

@ -0,0 +1,13 @@
# frozen_string_literal: true
module Backup
class Packages < Backup::Files
attr_reader :progress
def initialize(progress)
@progress = progress
super('packages', Settings.packages.storage_path, excludes: ['tmp'])
end
end
end