Merge pull request #437 from basecamp/kamal-run-directory

Configurable Kamal directory
This commit is contained in:
Donal McBreen
2023-09-06 14:31:07 +01:00
committed by GitHub
17 changed files with 101 additions and 23 deletions

View File

@@ -57,6 +57,10 @@ class Kamal::Configuration
Kamal::Utils.abbreviate_version(version)
end
def run_directory
raw_config.run_directory || ".kamal"
end
def roles
@roles ||= role_names.collect { |role_name| Role.new(role_name, config: self) }