Allow deploy/deliver without building and pushing the image
This commit is contained in:
@@ -9,7 +9,17 @@ require "mrsk"
|
||||
|
||||
ActiveSupport::LogSubscriber.logger = ActiveSupport::Logger.new(STDOUT) if ENV["VERBOSE"]
|
||||
|
||||
# Applies to remote commands only
|
||||
SSHKit.config.backend = SSHKit::Backend::Printer
|
||||
|
||||
# Ensure local commands use the printer backend too
|
||||
module SSHKit
|
||||
module DSL
|
||||
def run_locally(&block)
|
||||
SSHKit::Backend::Printer.new(SSHKit::Host.new(:local), &block).run
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user