Class: Dapp::Dimg::Artifact
Instance Attribute Summary
Attributes inherited from Dimg
#config, #dapp, #ignore_git_fetch, #should_be_built
Instance Method Summary collapse
- #after_stages_build! ⇒ Object
- #artifact? ⇒ Boolean
- #last_stage ⇒ Object
- #should_be_built? ⇒ Boolean
- #stage_should_be_introspected?(name) ⇒ Boolean
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::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs, #make_path, #search_file_upward
Methods included from Helper::Sha256
#hashsum, #paths_content_hashsum, #sha256
Methods included from Dimg::Stages
#all_images, #all_stages, #signature, #stage_by_name, #stage_cache_format, #stage_dapp_label, #tagged_images
Methods included from Dimg::Path
#build_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::Dimg
Instance Method Details
#after_stages_build! ⇒ Object
4 5 |
# File 'lib/dapp/dimg/artifact.rb', line 4 def after_stages_build! end |
#artifact? ⇒ Boolean
11 12 13 |
# File 'lib/dapp/dimg/artifact.rb', line 11 def artifact? true end |
#last_stage ⇒ Object
19 20 21 |
# File 'lib/dapp/dimg/artifact.rb', line 19 def last_stage @last_stage ||= Build::Stage::BuildArtifact.new(self) end |
#should_be_built? ⇒ Boolean
15 16 17 |
# File 'lib/dapp/dimg/artifact.rb', line 15 def should_be_built? false end |
#stage_should_be_introspected?(name) ⇒ Boolean
7 8 9 |
# File 'lib/dapp/dimg/artifact.rb', line 7 def stage_should_be_introspected?(name) dapp.[:introspect_artifact_stage] == name end |