fix(ci): sanitize deployment environmental schemas and increase Post-Deploy health assertion limits
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 5m57s
Build & Deploy / 🏗️ Build (push) Successful in 10m50s
Build & Deploy / 🚀 Deploy (push) Successful in 28s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 2m31s
Build & Deploy / 🔔 Notify (push) Successful in 3s
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 6s
Build & Deploy / 🧪 QA (push) Successful in 5m57s
Build & Deploy / 🏗️ Build (push) Successful in 10m50s
Build & Deploy / 🚀 Deploy (push) Successful in 28s
Build & Deploy / 🧪 Post-Deploy Verification (push) Failing after 2m31s
Build & Deploy / 🔔 Notify (push) Successful in 3s
This commit is contained in:
@@ -287,6 +287,10 @@ jobs:
|
|||||||
|
|
||||||
GATEKEEPER_ORIGIN="$NEXT_PUBLIC_BASE_URL/gatekeeper"
|
GATEKEEPER_ORIGIN="$NEXT_PUBLIC_BASE_URL/gatekeeper"
|
||||||
|
|
||||||
|
if [[ "$UMAMI_API_ENDPOINT" != http* ]]; then
|
||||||
|
UMAMI_API_ENDPOINT="https://$UMAMI_API_ENDPOINT"
|
||||||
|
fi
|
||||||
|
|
||||||
cat > .env.deploy << EOF
|
cat > .env.deploy << EOF
|
||||||
# Generated by CI - $TARGET
|
# Generated by CI - $TARGET
|
||||||
IMAGE_TAG=$IMAGE_TAG
|
IMAGE_TAG=$IMAGE_TAG
|
||||||
@@ -388,9 +392,16 @@ jobs:
|
|||||||
DEPLOY_URL: ${{ needs.prepare.outputs.next_public_url }}
|
DEPLOY_URL: ${{ needs.prepare.outputs.next_public_url }}
|
||||||
run: |
|
run: |
|
||||||
echo "Waiting for app to start..."
|
echo "Waiting for app to start..."
|
||||||
sleep 10
|
for i in {1..12}; do
|
||||||
curl -sf "$DEPLOY_URL/api/health/cms" || { echo "❌ CMS health check failed"; exit 1; }
|
if curl -sf "$DEPLOY_URL/api/health/cms" > /dev/null; then
|
||||||
echo "✅ CMS health OK"
|
echo "✅ CMS health OK"
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
echo "⏳ Waiting..."
|
||||||
|
sleep 5
|
||||||
|
done
|
||||||
|
echo "❌ CMS health check failed"
|
||||||
|
exit 1
|
||||||
- name: 🚀 OG Image Check
|
- name: 🚀 OG Image Check
|
||||||
env:
|
env:
|
||||||
TEST_URL: ${{ needs.prepare.outputs.next_public_url }}
|
TEST_URL: ${{ needs.prepare.outputs.next_public_url }}
|
||||||
|
|||||||
Reference in New Issue
Block a user