Class: Backup::Builds

Inherits:
Files
  • Object
show all
Defined in:
lib/backup/builds.rb

Constant Summary

Constants inherited from Files

Files::DEFAULT_EXCLUDE

Instance Attribute Summary collapse

Attributes inherited from Files

#app_files_dir, #backup_tarball, #excludes, #files_parent_dir, #name

Instance Method Summary collapse

Methods inherited from Files

#backup_existing_files_dir, #dump, #exclude_dirs, #restore, #run_pipeline!, #tar

Methods included from Helper

#access_denied_error, #gzip_cmd, #resource_busy_error

Constructor Details

#initialize(progress) ⇒ Builds

Returns a new instance of Builds.


9
10
11
12
13
# File 'lib/backup/builds.rb', line 9

def initialize(progress)
  @progress = progress

  super('builds', Settings.gitlab_ci.builds_path)
end

Instance Attribute Details

#progressObject (readonly)

Returns the value of attribute progress


7
8
9
# File 'lib/backup/builds.rb', line 7

def progress
  @progress
end