Class: Dapp::Artifact

Inherits:
Dimg
  • Object
show all
Defined in:
lib/dapp/artifact.rb

Overview

Artifact

Instance Attribute Summary

Attributes inherited from Dimg

#config, #ignore_git_fetch, #project, #should_be_built

Instance Method Summary collapse

Methods inherited from Dimg

#artifacts, #build!, #build_cache_version, #builder, #cleanup_tmp, #dev_mode?, #export!, #export_base!, #export_stages!, #import_base!, #import_stages!, #initialize, #introspect_image!, #run, #scratch?, #stage_image_name, #tag!

Methods included from Helper::Sha256

#hashsum, #paths_content_hashsum, #sha256

Methods included from Dimg::Stages

#all_images, #signature, #stage_cache_format, #stage_dapp_label

Methods included from Dimg::Path

#build_path, #container_dapp_path, #container_tmp_path, #cookbook_path, #home_path, #tmp_path

Methods included from Dimg::GitArtifact

#git_artifacts, #local_git_artifacts, #remote_git_artifacts

Constructor Details

This class inherits a constructor from Dapp::Dimg

Instance Method Details

#artifact?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/dapp/artifact.rb', line 4

def artifact?
  true
end

#should_be_built?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/dapp/artifact.rb', line 8

def should_be_built?
  false
end