Skip to content

Commit 75cfd8d

Browse files
committed
test
1 parent b9a0922 commit 75cfd8d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

.gitlab/ci/container-boot.gitlab-ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
$SAGITTARIUS_IMAGE
4444
$SAGITTARIUS_CMD
4545
- docker ps --all
46+
- docker logs -f sagittarius &
4647

4748
container:boot:sagittarius:rails-web:
4849
extends:

scripts/grpc_check_health

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,14 @@ rescue GRPC::BadStatus, RetryException => e
6363
message = "Service #{options[:service]} on #{options[:host]} is not SERVING (status is #{response&.status})"
6464
end
6565

66+
puts message
67+
6668
if attempt < options[:retries]
6769
attempt += 1
68-
puts message
6970
puts "Retrying in #{options[:backoff]}s"
7071
sleep options[:backoff]
7172
retry
7273
end
7374

74-
abort message
75+
abort
7576
end

0 commit comments

Comments
 (0)