add OpenEBS + RabbitMQ

This commit is contained in:
Cedric Verstraeten
2024-09-07 18:41:28 +02:00
parent c7110e6346
commit ecdccd0ce0

View File

@@ -26,12 +26,12 @@ jobs:
kubectl get sc
- name: Checkout repository
uses: actions/checkout@v2
# - name: Install OpenEBS
# run: |
# kubectl apply -f https://openebs.github.io/charts/openebs-operator.yaml
# echo "Sleeping for 60 seconds, give time for the operator to create the CRDs" && sleep 60
# kubectl get sc
# kubectl get po -A -o wide
- name: Install OpenEBS
run: |
kubectl apply -f https://openebs.github.io/charts/openebs-operator.yaml
echo "Sleeping for 60 seconds, give time for the operator to create the CRDs" && sleep 60
kubectl get sc
kubectl get po -A -o wide
# - name: Install Minio
# id: install-minio
# run: |
@@ -49,15 +49,15 @@ jobs:
# 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: |
# helm repo add bitnami https://charts.bitnami.com/bitnami
# kubectl create namespace rabbitmq
# helm install rabbitmq -n rabbitmq bitnami/rabbitmq --values ./rabbitmq-values.yaml
# echo "Sleeping for 60 seconds, give time for the helm chart to create the pods" && sleep 60
# kubectl get pods -A -o wide
# kubectl get pods -A -o wide | grep rabbitmq | awk '{print $3}' | grep -q '1/1' && echo "rabbitmq pod is running with status 1/1" || (echo "rabbitmq pod is not running with status 1/1" && exit 1)
- name: Install RabbitMQ
id: install-rabbitmq
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
kubectl create namespace rabbitmq
helm install rabbitmq -n rabbitmq bitnami/rabbitmq --values ./rabbitmq-values.yaml
echo "Sleeping for 60 seconds, give time for the helm chart to create the pods" && sleep 60
kubectl get pods -A -o wide
kubectl get pods -A -o wide | grep rabbitmq | awk '{print $3}' | grep -q '1/1' && echo "rabbitmq pod is running with status 1/1" || (echo "rabbitmq pod is not running with status 1/1" && exit 1)
# - name: Install Kerberos Vault
# id: install-kerberos-vault
# run: |