This commit is contained in:
Valentin Afanasev
2025-08-05 03:36:03 +03:00
parent fdf0d4e40c
commit 33808d6d00

View File

@ -10,6 +10,7 @@ runs:
curl -s https://gitea.vecus.ru/ci/postgres-actions/raw/branch/master/.gitea/actions/create/postgres-template.yaml | envsubst | werf kubectl apply -f - curl -s https://gitea.vecus.ru/ci/postgres-actions/raw/branch/master/.gitea/actions/create/postgres-template.yaml | envsubst | werf kubectl apply -f -
echo "Waiting for pod to be ready..." echo "Waiting for pod to be ready..."
timeout=600 timeout=600
set +e
while ! werf kubectl get pod ${POD_NAME} -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null | grep -q true; do while ! werf kubectl get pod ${POD_NAME} -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null | grep -q true; do
echo "Still not ready..." echo "Still not ready..."
sleep 2 sleep 2