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

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

Methods included from Helper::Sha256

#hashsum, #paths_content_hashsum, #sha256

Methods included from Dimg::Stages

#images, #signature, #stage_cache_format, #stage_dapp_label

Methods included from Dimg::Path

#build_path, #chef_path, #container_dapp_path, #container_tmp_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