Skip to content

Commit

Permalink
restart and pause before validating logs
Browse files Browse the repository at this point in the history
  • Loading branch information
davegarvey committed Aug 5, 2024
1 parent 5c88f22 commit a5bfe7f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions deployments/tyk/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,12 @@ log_message "Recreating containers to load new certificates"
eval $(generate_docker_compose_command) up -d --no-deps --force-recreate tyk-dashboard tyk-gateway tyk-gateway-2
log_ok

log_message "Wait for services to be available after restart"
wait_for_liveness

log_message "Validating that secure messaging is functioning on gateway containers"
# pause before checking logs
sleep 2
gateway_service_names=("tyk-gateway" "tyk-gateway-2")
attempts=0
max_attempts=3
Expand Down Expand Up @@ -224,8 +229,7 @@ done
log_ok
bootstrap_progress

log_message "Wait for services to be available after restart"
wait_for_liveness


# Kafka

Expand Down

0 comments on commit a5bfe7f

Please sign in to comment.