increase mongodb installation time

This commit is contained in:
Cedric Verstraeten
2024-09-08 11:00:15 +02:00
parent 9be2506f5d
commit 822cd8dcb6

View File

@@ -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 120 seconds, give time for the helm chart to create the pods" && sleep 120
echo "Sleeping for 180 seconds, give time for the helm chart to create the pods" && sleep 180
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