up timeout
This commit is contained in:
@ -9,7 +9,7 @@ runs:
|
|||||||
- run: |
|
- run: |
|
||||||
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=60
|
timeout=600
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user