Fix workflow YAML and improve CV section editing
This commit is contained in:
@@ -76,12 +76,17 @@ jobs:
|
||||
APP_BUILD_STAMP="$(date -u +'%Y-%m-%d %H:%M UTC')" \
|
||||
./deploy/deploy.sh
|
||||
docker compose ps
|
||||
docker compose exec -T ai-service python -c "import time, urllib.request; deadline=time.time()+60; last=None
|
||||
for _ in range(30):
|
||||
try:
|
||||
urllib.request.urlopen('http://127.0.0.1:8001/health', timeout=5).read()
|
||||
raise SystemExit(0)
|
||||
except Exception as exc:
|
||||
last=exc
|
||||
time.sleep(2)
|
||||
raise last"
|
||||
docker compose exec -T ai-service python - <<'PY'
|
||||
import time
|
||||
import urllib.request
|
||||
|
||||
last = None
|
||||
for _ in range(30):
|
||||
try:
|
||||
urllib.request.urlopen('http://127.0.0.1:8001/health', timeout=5).read()
|
||||
raise SystemExit(0)
|
||||
except Exception as exc:
|
||||
last = exc
|
||||
time.sleep(2)
|
||||
raise last
|
||||
PY
|
||||
|
||||
Reference in New Issue
Block a user