We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ee41f5 commit e836d0cCopy full SHA for e836d0c
1 file changed
scripts/check_deployment.rb
@@ -9,7 +9,7 @@
9
if $?.success?
10
puts 2
11
j = JSON.parse(docker_ps)
12
- unless j.any? { |c| c['ExitCode'] == 1 }
+ unless j.any? { |c| c['ExitCode'] == 1 } || j.any? { |c| c['Health'] == 'unhealthy' }
13
puts 'exit 0'
14
exit 0
15
end
0 commit comments