Class: Dapp::Dimg::Build::Stage::GADependenciesBase
- Defined in:
- lib/dapp/dimg/build/stage/ga_dependencies_base.rb
Direct Known Subclasses
GAArchiveDependencies, Install::GAPostInstallPatchDependencies, Install::GAPreInstallPatchDependencies, Setup::GAPostSetupPatchDependencies, Setup::GAPreSetupPatchDependencies
Instance Attribute Summary
Attributes inherited from Base
#dimg, #next_stage, #prev_stage
Instance Method Summary collapse
Methods inherited from Base
#adding_mounts_by_type, #artifact?, #build!, #build_lock!, #builder_checksum, #config_mounts_by_type, #dependencies, #dependencies_empty?, #git_artifacts_dependencies, #image, #image_add_mounts, #image_should_be_build?, #initialize, #labels_mounts_by_type, #name, #save_in_cache!, #signature
Methods included from Mod::Logging
#ignore_log_commands?, #log_build, #log_image_build, #log_image_build_process, #log_image_commands, #log_image_created_at, #log_image_details, #log_image_instructions, #log_image_size, #log_name, #log_name_context, #log_state, #should_be_introspected?, #should_be_quiet?, #should_not_be_detailed?
Methods included from Helper::Trivia
class_to_lowercase, #class_to_lowercase, #delete_file, #kwargs, #search_file_upward
Methods included from Helper::Sha256
#hashsum, #paths_content_hashsum, #sha256
Constructor Details
This class inherits a constructor from Dapp::Dimg::Build::Stage::Base
Instance Method Details
#empty? ⇒ Boolean
13 14 15 |
# File 'lib/dapp/dimg/build/stage/ga_dependencies_base.rb', line 13 def empty? dimg.git_artifacts.empty? || super end |
#prepare_image ⇒ Object
6 7 8 9 10 11 |
# File 'lib/dapp/dimg/build/stage/ga_dependencies_base.rb', line 6 def prepare_image super dimg.git_artifacts.each do |git_artifact| image.add_service_change_label(git_artifact.full_name.to_sym => git_artifact.latest_commit) end end |