From f44bfb23d65bbe54ed3efad3fced72d769da0e8a Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Wed, 9 Oct 2024 18:42:55 +0200 Subject: [PATCH] increase timeouts --- .github/workflows/kind-cloud.yaml | 2 +- .github/workflows/kind.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/kind-cloud.yaml b/.github/workflows/kind-cloud.yaml index 9322ca3..2fde346 100644 --- a/.github/workflows/kind-cloud.yaml +++ b/.github/workflows/kind-cloud.yaml @@ -38,7 +38,7 @@ jobs: helm repo add bitnami https://charts.bitnami.com/bitnami kubectl create namespace mongodb helm install mongodb -n mongodb bitnami/mongodb --values ./mongodb-values.yaml - echo "Sleeping for 180 seconds, give time for the helm chart to create the pods" && sleep 180 + echo "Sleeping for 250 seconds, give time for the helm chart to create the pods" && sleep 250 kubectl get pods -A -o wide kubectl get pods -A -o wide | grep mongodb | awk '{print $3}' | grep -q '1/1' && echo "mongodb pod is running with status 1/1" || (echo "mongodb pod is not running with status 1/1" && exit 1) - name: Install Minio diff --git a/.github/workflows/kind.yaml b/.github/workflows/kind.yaml index 06be88e..6087f6b 100644 --- a/.github/workflows/kind.yaml +++ b/.github/workflows/kind.yaml @@ -46,7 +46,7 @@ jobs: helm repo add bitnami https://charts.bitnami.com/bitnami kubectl create namespace mongodb helm install mongodb -n mongodb bitnami/mongodb --values ./mongodb-values.yaml - echo "Sleeping for 120 seconds, give time for the helm chart to create the pods" && sleep 120 + echo "Sleeping for 250 seconds, give time for the helm chart to create the pods" && sleep 250 kubectl get pods -A -o wide kubectl get pods -A -o wide | grep mongodb | awk '{print $3}' | grep -q '1/1' && echo "mongodb pod is running with status 1/1" || (echo "mongodb pod is not running with status 1/1" && exit 1) - name: Install RabbitMQ @@ -82,6 +82,6 @@ jobs: sed -e '/limits/ s/^#*/#/' -i ./data-filtering-deployment.yaml sed -e '/nvidia/ s/^#*/#/' -i ./data-filtering-deployment.yaml kubectl apply -f data-filtering-deployment.yaml - echo "Sleeping for 150 seconds, give time for the helm chart to create the pods" && sleep 150 + echo "Sleeping for 250 seconds, give time for the helm chart to create the pods" && sleep 250 kubectl get pods -A -o wide kubectl get pods -A -o wide | grep data-filtering | awk '{print $3}' | grep -q '1/1' && echo "data-filtering pod is running with status 1/1" || (echo "data-filtering pod is not running with status 1/1" && exit 1)