Skip existing containers on accessory boot
When booting an accessory, check for the container first and skip boot if it exists. This allows us to rerun `kamal setup` on hosts with accessories without raising an error. Fixes: https://github.com/basecamp/kamal/issues/488
This commit is contained in:
@@ -11,7 +11,7 @@ class IntegrationTest < ActiveSupport::TestCase
|
||||
end
|
||||
|
||||
teardown do
|
||||
if !passed? && ENV["DEBUG"]
|
||||
if !passed? && ENV["DEBUG_CONTAINER_LOGS"]
|
||||
[ :deployer, :vm1, :vm2, :shared, :load_balancer, :registry ].each do |container|
|
||||
puts
|
||||
puts "Logs for #{container}:"
|
||||
|
||||
Reference in New Issue
Block a user