From 2391971e040200b8da1d47f7a914213655acf0ee Mon Sep 17 00:00:00 2001 From: Cristhian Garcia Date: Thu, 12 Sep 2024 16:09:01 -0500 Subject: [PATCH] temp: integration testing --- .github/workflows/integration-test.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml index 6c82424..d24242c 100644 --- a/.github/workflows/integration-test.yml +++ b/.github/workflows/integration-test.yml @@ -7,6 +7,13 @@ jobs: k8s: runs-on: ubuntu-latest + strategy: + matrix: + cluster: + - name: cluster-01 + installations: + - openedx-01 + steps: - name: Checkout uses: actions/checkout@v4 @@ -18,7 +25,10 @@ jobs: - name: Setup namespace run: | kubectl config set-context --current --namespace=harmony - kubectl get pods + + - name: Install openedx + run: | + echo "Installations ${{matrix.cluster.installations}}" - name: Helm dependency add run: | @@ -32,11 +42,9 @@ jobs: - name: Helm install run: | - helm install harmony --namespace harmony --create-namespace -f values-minikube.yaml charts/harmony-chart + helm install harmony --namespace harmony --create-namespace -f integration-test/${{matrix.cluster.name}} charts/harmony-chart - name: Setup domain run: | - minikube service harmony-ingress-nginx-controller -n harmony --url export CLUSTER_HTTP_URL=$(minikube service harmony-ingress-nginx-controller -n harmony --url | head -n 1) - echo $CLUSTER_HTTP_URL curl $CLUSTER_HTTP_URL/cluster-echo-test -H "host: harmony.test"