ci: auto-restart convex service before acquiring admin key
This commit is contained in:
parent
3b0484a9ad
commit
a08b0d6d27
1 changed files with 3 additions and 1 deletions
4
.github/workflows/ci-cd-web-desktop.yml
vendored
4
.github/workflows/ci-cd-web-desktop.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue