d0e3e823a2
- Offloads uploading to GitLab Workhorse - Use /authorize request for fast uploading - Added backup recipes for artifacts - Support download acceleration using X-Sendfile
13 lines
230 B
Ruby
13 lines
230 B
Ruby
require 'backup/files'
|
|
|
|
module Backup
|
|
class Artifacts < Files
|
|
def initialize
|
|
super('artifacts', ArtifactUploader.artifacts_path)
|
|
end
|
|
|
|
def create_files_dir
|
|
Dir.mkdir(app_files_dir, 0700)
|
|
end
|
|
end
|
|
end
|