调整部署后的公网健康检查
This commit is contained in:
parent
5e924e51f9
commit
048825715d
@ -755,8 +755,12 @@ PROD_SCRIPT
|
||||
if [ "$TARGET" = "production" ]; then
|
||||
log "Checking public FRP endpoints after deployment"
|
||||
curl -fsS --max-time 12 "$PUBLIC_APP_URL/api/health" >/tmp/git-deploy-public-health.json
|
||||
curl -fsS --max-time 12 "https://s3.jiansun.vip/minio/health/live" >/tmp/git-deploy-public-s3-health.txt
|
||||
ok "Public FRP endpoints are healthy"
|
||||
ok "Public application endpoint is healthy"
|
||||
if curl -fsS --max-time 12 "https://s3.jiansun.vip/minio/health/live" >/tmp/git-deploy-public-s3-health.txt; then
|
||||
ok "Public S3 endpoint is healthy"
|
||||
else
|
||||
warn "Public S3 endpoint is unhealthy; application deployment succeeded, check the storage tunnel separately"
|
||||
fi
|
||||
fi
|
||||
else
|
||||
warn "Skipping production deployment by request"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user