Class: Backup::Artifacts

Inherits:
Files
  • Object
show all
Defined in:
lib/backup/artifacts.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) ⇒ Artifacts

Returns a new instance of Artifacts.


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

def initialize(progress)
  @progress = progress

  super('artifacts', JobArtifactUploader.root, excludes: ['tmp'])
end

Instance Attribute Details

#progressObject (readonly)

Returns the value of attribute progress


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

def progress
  @progress
end