Always be verbose about building
Serves as progress indicator, step too long without one
This commit is contained in:
@@ -13,13 +13,11 @@ class Mrsk::Cli::Build < Mrsk::Cli::Base
|
|||||||
|
|
||||||
run_locally do
|
run_locally do
|
||||||
begin
|
begin
|
||||||
debug "Using builder: #{MRSK.builder.name}"
|
MRSK.verbosity(:debug) { execute *MRSK.builder.push }
|
||||||
info "Building image may take a while (run with --verbose for progress logging)" unless verbose
|
|
||||||
execute *MRSK.builder.push
|
|
||||||
rescue SSHKit::Command::Failed => e
|
rescue SSHKit::Command::Failed => e
|
||||||
error "Missing compatible builder, so creating a new one first"
|
error "Missing compatible builder, so creating a new one first"
|
||||||
execute *MRSK.builder.create
|
execute *MRSK.builder.create
|
||||||
execute *MRSK.builder.push
|
MRSK.verbosity(:debug) { execute *MRSK.builder.push }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user