basecamp / kamal

Deploy web apps anywhere.
https://kamal-deploy.org
MIT License
10.51k stars 398 forks source link

Display container logs when failing to start new version when using single role #843

Closed rchoquet closed 3 months ago

rchoquet commented 3 months ago

When Kamal is configured with a single role (ie: web), the container logs are not displayed after the container failed to become healthy.

I did not add a test as it seemed a bit overkill, but I can add a test case to test/integration/broken_deploy_test.rb if needed.

Fixes https://github.com/basecamp/kamal/issues/842