diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-10-16 17:16:17 +0200 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2015-10-16 17:16:17 +0200 |
commit | 58260a0327a953499a07e9cad8d9aaad2d25699b (patch) | |
tree | 8cb9e62b262a94955c63f0185539fd1e1fb572dc /lib/backup/builds.rb | |
parent | b847baf8c405935415fcd4ad4a620d577f6526f8 (diff) | |
download | gitlab-ce-backup-improvements.tar.gz |
Do no rely on basename of builds, uploadsbackup-improvements
Diffstat (limited to 'lib/backup/builds.rb')
-rw-r--r-- | lib/backup/builds.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/backup/builds.rb b/lib/backup/builds.rb index d269f8e260c..800f30c2144 100644 --- a/lib/backup/builds.rb +++ b/lib/backup/builds.rb @@ -1,7 +1,11 @@ module Backup class Builds < Files def initialize - super(Settings.gitlab_ci.builds_path) + super('builds', Settings.gitlab_ci.builds_path) + end + + def create_files_dir + Dir.mkdir(app_files_dir, 0700) end end end |