ci: auto-restart convex service before acquiring admin key

This commit is contained in:
Esdras Renan 2025-11-17 13:57:27 -03:00
parent 3b0484a9ad
commit a08b0d6d27

View file

@ -161,7 +161,9 @@ jobs:
echo "Convex container ready (CID=$CID)"
break
fi
echo "Attempt $attempt: container not ready yet; sleeping 5s"
echo "Attempt $attempt: container not ready yet; forcing service restart and sleeping 5s"
docker service ps sistema_convex_backend || true
docker service update --force sistema_convex_backend || true
sleep 5
done
if [ -z "$CID" ]; then