Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
730cbac7ae | ||
|
|
9c36be162f | ||
|
|
c3498bda76 |
@@ -265,17 +265,6 @@ jobs:
|
||||
|
||||
echo "✅ All health checks passed!"
|
||||
|
||||
- name: (Fallback) Probe via host-published port
|
||||
if: always()
|
||||
run: |
|
||||
set -euo pipefail
|
||||
# In case you also want to verify the host-published port from inside the job container:
|
||||
HOST_GATEWAY="$(ip route | awk '/default/ {print $3}')"
|
||||
echo "🔎 Host gateway is $HOST_GATEWAY — probing http://$HOST_GATEWAY:8080/health"
|
||||
docker run --rm curlimages/curl:8.10.1 \
|
||||
-sS --max-time 5 --connect-timeout 3 -w "HTTP_CODE:%{http_code}\n" \
|
||||
"http://$HOST_GATEWAY:8080/health" || true
|
||||
|
||||
- name: Container logs and cleanup
|
||||
if: always()
|
||||
run: |
|
||||
|
||||
@@ -7,6 +7,7 @@ import argparse
|
||||
import asyncio
|
||||
import sys
|
||||
import signal
|
||||
import time
|
||||
from datetime import datetime
|
||||
from typing import Optional
|
||||
|
||||
|
||||
Reference in New Issue
Block a user