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