-
Notifications
You must be signed in to change notification settings - Fork 70
45 lines (37 loc) · 1.1 KB
/
test.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
name: Chart Test
permissions:
contents: read
on:
pull_request:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install helm
uses: azure/setup-helm@v3
id: install
with:
version: v3.5.1
- name: "Add nginx ingress repo"
run: "helm repo add ingress-nginx https://kubernetes.github.io/ingress-nginx"
- name: Setup chart-testing
id: lint
uses: helm/[email protected]
- name: Chart linting
run: |
ct lint --config .ct.yaml
- name: Create kind cluster
uses: helm/[email protected]
with:
install_local_path_provisioner: true
- name: Install Ingress Controller
run: "helm install ingress-nginx/ingress-nginx --generate-name --set controller.service.type='NodePort' --set controller.admissionWebhooks.enabled=false"
- name: Chart install
run: |
ct install --config .ct.yaml --excluded-charts pomerium-console