increase mongodb installation time

This commit is contained in:
Cedric Verstraeten
2024-08-18 19:16:02 +02:00
parent db5b58c335
commit 62d7675c98
2 changed files with 2 additions and 2 deletions

View File

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

View File

@@ -41,7 +41,7 @@ jobs:
kubectl create namespace mongodb
sed -i 's/openebs-hostpath/microk8s-hostpath/g' ./mongodb-values.yaml
helm install mongodb -n mongodb bitnami/mongodb --values ./mongodb-values.yaml
echo "Sleeping for 60 seconds, give time for the helm chart to create the pods" && sleep 60
echo "Sleeping for 90 seconds, give time for the helm chart to create the pods" && sleep 90
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