1
+ name : Test Helm Chart
2
+
3
+ on :
4
+ pull_request :
5
+ paths :
6
+ - ' dist/chart/**'
7
+
8
+ jobs :
9
+ test :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Check out source repository
13
+ uses : actions/checkout@v4
14
+
15
+ - name : Set up Helm
16
+
17
+ with :
18
+ version : v3.17.0
19
+
20
+
21
+ with :
22
+ python-version : ' 3.x'
23
+ check-latest : true
24
+
25
+ - name : Set up chart-testing
26
+
27
+
28
+ - name : Run chart-testing (lint)
29
+ run : helm lint ./dist/chart
30
+
31
+ - name : Create kind cluster
32
+
33
+
34
+ - name : Install kubectl
35
+ uses : azure/setup-kubectl@v4
36
+
37
+ - name : Install Envoy Gateway
38
+ run : |
39
+ helm install eg oci://docker.io/envoyproxy/gateway-helm --version v0.0.0-latest -n envoy-gateway-system --create-namespace --wait
40
+
41
+ - name : Install Kuberay operator
42
+ run : |
43
+ helm install kuberay-operator kuberay/kuberay-operator \
44
+ --namespace kuberay-system \
45
+ --version 1.2.1 \
46
+ --set env[0].name=ENABLE_PROBES_INJECTION \
47
+ --set-string env[0].value=false \
48
+ --set fullnameOverride=kuberay-operator \
49
+ --set featureGates[0].name=RayClusterStatusConditions \
50
+ --set featureGates[0].enabled=true \
51
+ --create-namespace \
52
+ --wait
53
+
54
+ - name : Install Aibrix CRDs
55
+ run : |
56
+ kubectl apply -f dist/chart/crds
57
+
58
+ - name : Chart test
59
+ working-directory : ./dist/chart
60
+ run : |
61
+ kubectl create namespace aibrix-system
62
+ ct install --chart-dirs . --charts . --namespace aibrix-system
0 commit comments