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 85b0a17 commit 760984aCopy full SHA for 760984a
1 file changed
scripts/check_deployment.rb
@@ -5,7 +5,12 @@
5
if $?.success? && output.include?('Browse the catalogue')
6
docker_ps = `docker compose ps -a --format json`
7
if $?.success?
8
- j = JSON.parse(docker_ps)
+ begin
9
+ j = JSON.parse(docker_ps)
10
+ rescue => e
11
+ puts "THE JSON:\n\n\n\n#{docker_ps}\n\n\n\n"
12
+ raise e
13
+ end
14
unless j.any? { |c| c['ExitCode'] == 1 }
15
exit 0
16
end
0 commit comments