All checks were successful
Build, test and publish / verify (push) Successful in 8m54s
8 lines
499 B
Bash
8 lines
499 B
Bash
# Application-specific readiness, retained with each release by engineering.
|
|
application_health() {
|
|
frontend=$(compose ps -q frontend)
|
|
docker_cmd exec "$frontend" wget -q -T 5 -O /dev/null http://backend:8080/q/health/ready || return 1
|
|
curl --noproxy '*' --fail --silent --show-error --max-time 5 "http://$BIND_IP:$FRONTEND_PORT/" -o /dev/null || return 1
|
|
curl --noproxy '*' --fail --silent --show-error --max-time 5 "http://$BIND_IP:$FRONTEND_PORT/api/dance-schools" -o /dev/null
|
|
}
|