chore(deploy): wire OIDC runtime configuration
This commit is contained in:
parent
ffa3b71309
commit
4bfa4ea02d
7 changed files with 115 additions and 100 deletions
|
|
@ -346,7 +346,8 @@ check_backend_health() {
|
|||
check_frontend_health() {
|
||||
local i
|
||||
for ((i = 1; i <= 30; i++)); do
|
||||
if remote "curl -sf http://127.0.0.1:3000/ >/dev/null"; then
|
||||
# Allow 200 OK or 302/303/307 Redirect (to login)
|
||||
if remote "curl -s -o /dev/null -w '%{http_code}' http://127.0.0.1:3000/ | grep -qE '^(200|302|303|307)$'"; then
|
||||
log "Frontend health check passed"
|
||||
return 0
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue