Class: Dapp::Dimg::Build::Stage::GAArchiveDependencies
- Inherits:
-
GADependenciesBase
- Object
- Base
- GADependenciesBase
- Dapp::Dimg::Build::Stage::GAArchiveDependencies
- Defined in:
- lib/dapp/dimg/build/stage/ga_archive_dependencies.rb
Constant Summary collapse
- RESET_COMMIT_MESSAGES =
['[dapp reset]', '[reset dapp]'].freeze
Instance Attribute Summary
Attributes inherited from Base
#dimg, #next_stage, #prev_stage
Instance Method Summary collapse
- #dependencies ⇒ Object
-
#initialize(dimg, next_stage) ⇒ GAArchiveDependencies
constructor
A new instance of GAArchiveDependencies.
Methods inherited from GADependenciesBase
Methods inherited from Base
#adding_mounts_by_type, #artifact?, #build!, #build_lock!, #builder_checksum, #config_mounts_by_type, #dependencies_empty?, #empty?, #git_artifacts_dependencies, #image, #image_add_mounts, #image_should_be_build?, #labels_mounts_by_type, #name, #prepare_image, #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
#initialize(dimg, next_stage) ⇒ GAArchiveDependencies
Returns a new instance of GAArchiveDependencies.
8 9 10 11 |
# File 'lib/dapp/dimg/build/stage/ga_archive_dependencies.rb', line 8 def initialize(dimg, next_stage) @prev_stage = BeforeInstallArtifact.new(dimg, self) super end |
Instance Method Details
#dependencies ⇒ Object
13 14 15 |
# File 'lib/dapp/dimg/build/stage/ga_archive_dependencies.rb', line 13 def dependencies [dimg.git_artifacts.map(&:paramshash).join, reset_commits.sort.uniq.compact] end |