35
35
chart_validation :
36
36
needs : [publish_images]
37
37
runs-on : ubuntu-latest
38
+ strategy :
39
+ fail-fast : false
40
+ matrix :
41
+ chart :
42
+ - azimuth-llm-chat
43
+ - azimuth-llm-image-analysis
44
+ - azimuth-llm
45
+ - flux-image-gen
38
46
env :
39
47
CLUSTER_NAME : chart-testing
40
48
RELEASE_NAME : ci-test
@@ -59,13 +67,16 @@ jobs:
59
67
uses : helm/chart-testing-action@v2
60
68
61
69
- name : Run chart linting
62
- run : ct lint --config ct.yaml
70
+ run : ct lint --config ct.yaml --charts charts/${{ matrix.chart }}
63
71
64
72
- name : Create Kind Cluster
65
73
uses : helm/kind-action@v1
66
74
with :
67
75
cluster_name : ${{ env.CLUSTER_NAME }}
68
76
77
+ - name : Debug
78
+ run : (df -h && docker ps -a && docker image ls && kubectl get nodes && kubectl get pods --all-namespaces) || true
79
+
69
80
# NOTE(scott): Since the local Chart.yaml uses "appVersion: latest" and this
70
81
# only gets overwritten to the correct commit SHA during Helm chart build,
71
82
# we need to pull these published images and load them into the kind cluster
@@ -74,11 +85,14 @@ jobs:
74
85
run : ./kind-images.sh $(git rev-parse --short ${{ github.event.pull_request.head.sha }}) ${{ env.CLUSTER_NAME }}
75
86
working-directory : web-apps
76
87
88
+ - name : Debug
89
+ run : (df -h && docker ps -a && docker image ls && kubectl get nodes && kubectl get pods --all-namespaces) || true
90
+
77
91
# https://github.com/helm/charts/blob/master/test/README.md#providing-custom-test-values
78
92
# Each chart/ci/*-values.yaml file will be treated as a separate test case with it's
79
93
# own helm install/test process.
80
94
- name : Run chart install and test
81
- run : ct install --config ct.yaml
95
+ run : ct install --config ct.yaml --charts charts/${{ matrix.chart }}
82
96
83
97
publish_charts :
84
98
needs : [chart_validation]
0 commit comments