-
Notifications
You must be signed in to change notification settings - Fork 2.7k
43 lines (37 loc) · 1.11 KB
/
helm-check.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
name: Helm Lint and Test Charts
on:
pull_request:
paths:
- 'install/kubernetes/**'
jobs:
quick-install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Check quick-install.yaml
run: |
cd install/kubernetes
make all
git diff --exit-code
lint-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run chart-testing (lint)
id: lint
uses: helm/chart-testing-action@v1.0.0-rc.2
with:
command: lint
config: install/kubernetes/chart-testing.yaml
- name: Create kind cluster
uses: helm/kind-action@v1.0.0-rc.1
with:
install_local_path_provisioner: true
if: steps.lint.outputs.changed == 'true'
# This test is just to make sure the helm chart can be installed. It will not replace existing integration tests
- name: Run chart-testing (install)
uses: helm/chart-testing-action@v1.0.0-rc.2
with:
command: install
config: install/kubernetes/chart-testing.yaml