From 09658dcdbe2503cf182d800aba0cd9de98cc3fc3 Mon Sep 17 00:00:00 2001 From: Cedric Verstraeten Date: Sat, 7 Sep 2024 18:50:13 +0200 Subject: [PATCH] add mongodb --- .github/workflows/kind-cloud.yaml | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/kind-cloud.yaml b/.github/workflows/kind-cloud.yaml index 75de699..f6203c7 100644 --- a/.github/workflows/kind-cloud.yaml +++ b/.github/workflows/kind-cloud.yaml @@ -40,15 +40,15 @@ jobs: # echo "Sleeping for 60 seconds, give time for the operator/tenant to create the CRDs" && sleep 60 # kubectl get po -A -o wide # kubectl get po -A -o wide | grep myminio-pool-0-0 | awk '{print $3}' | grep -q '2/2' && echo "myminio-pool-0-0 pod is running with status 2/2" || (echo "myminio-pool-0-0 pod is not running with status 2/2" && exit 1) - # - name: Install MongoDB - # id: install-mongodb - # run: | - # 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 - # 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 MongoDB + id: install-mongodb + run: | + 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 + 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 id: install-rabbitmq run: |