lib/minke/tasks/run.rb in minke-1.12.9 vs lib/minke/tasks/run.rb in minke-1.13.0

- old
+ new

@@ -1,21 +1,21 @@ module Minke module Tasks class Run < Task def run args = nil - puts "## Run application with docker compose" + @logger.info "## Run application with docker compose" compose_file = @config.compose_file_for(@task_name) compose_file = File.expand_path(compose_file) compose = @docker_compose_factory.create compose_file unless compose_file == nil run_with_block do begin compose.up compose.logs rescue SystemExit, Interrupt - puts "Stopping...." + @logger.info "Stopping...." raise SystemExit ensure compose.down end end