Skip to content

Commit

Permalink
temp: integration testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ian2012 committed Sep 12, 2024
1 parent 2c45fef commit 2391971
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/integration-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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: |
Expand All @@ -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"

0 comments on commit 2391971

Please sign in to comment.