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

14 lines
223 B
Ruby
Raw Normal View History

2015-11-26 14:37:03 +05:30
require 'backup/files'
2015-09-25 12:07:36 +05:30
2015-11-26 14:37:03 +05:30
module Backup
class Builds < Files
2015-09-25 12:07:36 +05:30
def initialize
2015-11-26 14:37:03 +05:30
super('builds', Settings.gitlab_ci.builds_path)
2015-09-25 12:07:36 +05:30
end
2015-11-26 14:37:03 +05:30
def create_files_dir
Dir.mkdir(app_files_dir, 0700)
2015-09-25 12:07:36 +05:30
end
end
end