forked from kubeshop/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (43 loc) · 1.5 KB
/
helm-lint.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
## Reference: https://github.com/helm/chart-testing-action
name: Lint
on:
pull_request:
# Sequence of patterns matched against refs/heads
branches:
- develop
permissions:
contents: write
jobs:
chart-test:
name: Chart lint
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Helm
uses: azure/[email protected]
with:
version: v3.14.1
- name: Debug
run: |
helm repo add bitnami https://charts.bitnami.com/bitnami
helm dependency build ./charts/testkube
helm dependency build ./charts/testkube-dashboard
ls ./charts/testkube-dashboard/charts
helm lint ./charts/testkube --with-subcharts --values ./charts/testkube/values.yaml
# - name: Run helm dependency update
# run: |
# for chart in \
# ./charts/testkube \
# ./charts/testkube-api \
# ./charts/testkube-dashboard \
# ./charts/testkube-logs \
# ./charts/testkube-operator; do
# helm dependency build "$chart"
# done
# helm lint ./charts/testkube --with-subcharts --values ./charts/testkube/values.yaml
# helm template ./charts/testkube
# - name: Run helm-lint
# run: helm lint ./charts/testkube --with-subcharts --values ./charts/testkube/values.yaml
# - name: Run helm template
# run: helm template ./charts/testkube