add mongodb

This commit is contained in:
Cedric Verstraeten
2024-09-07 18:50:13 +02:00
parent 2d826e94d5
commit 09658dcdbe

View File

@@ -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: |