fix(ci): add cache-buster to health check to avoid varnish staleness
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Successful in 2m53s
Build & Deploy / 🏗️ Build (push) Successful in 3m44s
Build & Deploy / 🚀 Deploy (push) Successful in 14s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 4m46s
Build & Deploy / 🔔 Notify (push) Has been cancelled
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 11s
Build & Deploy / 🧪 QA (push) Successful in 2m53s
Build & Deploy / 🏗️ Build (push) Successful in 3m44s
Build & Deploy / 🚀 Deploy (push) Successful in 14s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 4m46s
Build & Deploy / 🔔 Notify (push) Has been cancelled
This commit is contained in:
@@ -496,11 +496,11 @@ jobs:
|
||||
curl -sf "$DEPLOY_URL/health" || { echo "❌ Basic health check failed"; exit 1; }
|
||||
echo "✅ Basic health OK"
|
||||
echo "Checking CMS DB connectivity..."
|
||||
RESPONSE_HEADERS=$(curl -sfI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS" 2>&1)
|
||||
RESPONSE=$(curl -sf "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS" 2>&1) || {
|
||||
RESPONSE_HEADERS=$(curl -sfI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS&cb=$(date +%s)" 2>&1)
|
||||
RESPONSE=$(curl -sf "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS&cb=$(date +%s)" 2>&1) || {
|
||||
echo "❌ CMS health check failed!"
|
||||
echo "--- RESPONSE HEADERS ---"
|
||||
curl -sI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS"
|
||||
curl -sI "$DEPLOY_URL/api/health/cms?gk_bypass=$GK_PASS&cb=$(date +%s)"
|
||||
echo "--- RESPONSE BODY ---"
|
||||
echo "$RESPONSE"
|
||||
echo ""
|
||||
|
||||
Reference in New Issue
Block a user