File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ paths :
4+ - " charts/lago-mcp-server/**"
5+
6+ name : Lint and Test Lago MCP Server Chart
7+
8+ jobs :
9+ lint :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - name : Checkout
13+ uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 0
16+
17+ - name : Set up Helm
18+ uses : azure/setup-helm@v4
19+ with :
20+ version : v3.18.4
21+
22+ - name : Set up chart-testing
23+ uses : helm/chart-testing-action@v2.8.0
24+
25+ - name : Run chart-testing (list-changed)
26+ id : list-changed
27+ run : |
28+ changed=$(ct list-changed --config ct.yaml)
29+ if [[ -n "$changed" ]]; then
30+ echo "changed=true" >> "$GITHUB_OUTPUT"
31+ fi
32+
33+ - name : Run chart-testing (lint)
34+ if : steps.list-changed.outputs.changed == 'true'
35+ run : ct lint --config ct.yaml
36+
37+ - name : Create kind cluster
38+ if : steps.list-changed.outputs.changed == 'true'
39+ uses : helm/kind-action@v1.12.0
40+
41+ - name : Create lago namespace
42+ if : steps.list-changed.outputs.changed == 'true'
43+ run : kubectl create namespace lago
44+
45+ - name : Run chart-testing (install)
46+ if : steps.list-changed.outputs.changed == 'true'
47+ run : ct install --config ct.yaml --namespace default
Original file line number Diff line number Diff line change 1- on : pull_request
1+ on :
2+ pull_request :
3+ paths :
4+ - " charts/lago/**"
25
3- name : Lint and Test Charts
6+ name : Lint and Test Lago Chart
47
58jobs :
69 lint :
You can’t perform that action at this time.
0 commit comments