-
Notifications
You must be signed in to change notification settings - Fork 14
37 lines (28 loc) · 1.05 KB
/
integration-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: Tutor Integration Test
on:
pull_request:
jobs:
k8s:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Create k8s Kind Cluster
uses: helm/[email protected]
- name: Setup namespace
run: |
kubectl config set-context --current --namespace=harmony
kubectl get pods
- name: Helm dependency add
run: |
helm dependency list charts/harmony-chart 2> /dev/null | tail +2 | awk '{ print "helm" " repo add " $1 " " $3 }' | while read cmd; do $cmd || true; done
- name: Helm dependency build
run: |
helm dependency update charts/harmony-chart
helm dependency build charts/harmony-chart
- name: Helm install
run: |
helm install harmony --namespace harmony --create-namespace -f values-minikube.yaml charts/harmony-chart
- name: Setup domain
run: |
export CLUSTER_URL $(minikube service harmony-ingress-nginx-controller -n harmony -p harmony --url | tail +2)