Class: Helmsnap::SetupDependencies
- Defined in:
- lib/helmsnap/setup_dependencies.rb
Constant Summary collapse
- REPO_NAME_PREFIX =
"helmsnap-"
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(config, options) ⇒ SetupDependencies
constructor
A new instance of SetupDependencies.
Methods inherited from Service
Constructor Details
#initialize(config, options) ⇒ SetupDependencies
Returns a new instance of SetupDependencies.
6 7 8 9 10 11 |
# File 'lib/helmsnap/setup_dependencies.rb', line 6 def initialize(config, ) super() self.config = config self. = self.processed_paths = Set.new end |
Instance Method Details
#call ⇒ Object
13 14 15 16 17 18 19 |
# File 'lib/helmsnap/setup_dependencies.rb', line 13 def call clear_existing_repos! unless .skip_repo_cleanup config.envs.flat_map(&:release_paths).each do |chart_path| setup!(chart_path) end end |