debian-mirror-gitlab/lib/backup/artifacts.rb

18 lines
300 B
Ruby
Raw Normal View History

2018-12-05 23:21:45 +05:30
# frozen_string_literal: true
2015-11-26 14:37:03 +05:30
module Backup
2021-01-03 14:25:43 +05:30
class Artifacts < Backup::Files
2018-11-08 19:23:39 +05:30
attr_reader :progress
def initialize(progress)
@progress = progress
2020-11-24 15:15:51 +05:30
super('artifacts', JobArtifactUploader.root, excludes: ['tmp'])
2015-11-26 14:37:03 +05:30
end
2022-04-04 11:22:00 +05:30
def human_name
_('artifacts')
end
2015-11-26 14:37:03 +05:30
end
end