diff --git a/.gitea/actions/create/action.yml b/.gitea/actions/create/action.yml index e4952dc..09c96a1 100644 --- a/.gitea/actions/create/action.yml +++ b/.gitea/actions/create/action.yml @@ -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 - echo "Waiting for pod to be ready..." timeout=600 + set +e while ! werf kubectl get pod ${POD_NAME} -o jsonpath='{.status.containerStatuses[0].ready}' 2>/dev/null | grep -q true; do echo "Still not ready..." sleep 2