-
Notifications
You must be signed in to change notification settings - Fork 148
59 lines (46 loc) · 1.43 KB
/
helm.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
56
57
58
59
name: Lint and Test Charts
on:
pull_request:
paths:
- "charts/**"
jobs:
lint-test:
runs-on: ubuntu-18.04
steps:
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@v2
with:
go-version: 1.16
- name: Setup Tools
run: |
make -C e2e setup
- name: Run helm-docs
run: ./bin/helm-docs && git diff --no-patch --exit-code
- uses: actions/setup-python@v2
with:
python-version: 3.7
- name: Set up chart-testing
uses: helm/chart-testing-action@v2.0.1
- name: Run chart-testing (list-changed)
id: list-changed
run: |
changed=$(ct list-changed --config ct.yaml)
if [[ -n "$changed" ]]; then
echo "::set-output name=changed::true"
fi
- name: Run chart-testing (lint)
run: ct lint --config ct.yaml
- name: Setup kind
run: |
make -C e2e daemonset-lvmd/create-vg
make -C e2e daemonset-lvmd/setup-minikube
make -C e2e daemonset-lvmd/update-minikube-setting
make -C e2e topolvm.img
- name: Apply cert-manager CRDs
run: kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.3.1/cert-manager.crds.yaml
- name: Run chart-testing (install)
run: ct install --config ct.yaml