Class: Kamal::Cli::Lock
Instance Method Summary collapse
Methods inherited from Base
dynamic_command_class, exit_on_failure?, #initialize
Constructor Details
This class inherits a constructor from Kamal::Cli::Base
Instance Method Details
#acquire ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/kamal/cli/lock.rb', line 13 def acquire = [:message] ensure_run_directory raise_if_locked do on(KAMAL.primary_host) do execute *KAMAL.lock.acquire(, KAMAL.config.version), verbosity: :debug end say "Acquired the deploy lock" end end |