fix: verify-server.sh exit on first check, bump flower/beat to 256m
Some checks failed
Some checks failed
- Remove set -e so script continues through all checks - Use POSIX arithmetic to avoid exit code 1 from (( )) - Bump flower and celery-beat mem_limit from 128m to 256m (OOM killed) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -107,7 +107,7 @@ services:
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
mem_limit: 128m
|
||||
mem_limit: 256m
|
||||
healthcheck:
|
||||
disable: true
|
||||
networks:
|
||||
@@ -128,7 +128,7 @@ services:
|
||||
depends_on:
|
||||
redis:
|
||||
condition: service_healthy
|
||||
mem_limit: 128m
|
||||
mem_limit: 256m
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "curl -f http://localhost:5555/ || exit 1"]
|
||||
interval: 30s
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
# verify-server.sh — Check all Orion infrastructure is properly deployed
|
||||
# Run on the production server: bash scripts/verify-server.sh
|
||||
set -euo pipefail
|
||||
set -uo pipefail
|
||||
|
||||
PASS=0
|
||||
FAIL=0
|
||||
WARN=0
|
||||
|
||||
pass() { echo " [PASS] $1"; ((PASS++)); }
|
||||
fail() { echo " [FAIL] $1"; ((FAIL++)); }
|
||||
warn() { echo " [WARN] $1"; ((WARN++)); }
|
||||
pass() { echo " [PASS] $1"; PASS=$((PASS + 1)); }
|
||||
fail() { echo " [FAIL] $1"; FAIL=$((FAIL + 1)); }
|
||||
warn() { echo " [WARN] $1"; WARN=$((WARN + 1)); }
|
||||
|
||||
section() { echo ""; echo "=== $1 ==="; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user