forked from pomerium/pomerium-helm
-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (33 loc) · 1009 Bytes
/
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
name: Chart Test
on:
pull_request:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Run chart-testing (lint)
id: lint
uses: helm/[email protected]
with:
command: lint
config: .ct.yaml
- name: Create kind cluster
uses: helm/[email protected]
with:
install_local_path_provisioner: true
- name: Install helm
uses: azure/setup-helm@v1
id: install
- name: "Add stable repo"
run: "helm repo add stable https://kubernetes-charts.storage.googleapis.com"
- name: Install Ingress Controller
run: "helm install stable/nginx-ingress --generate-name --set controller.service.type='NodePort'"
- name: Run chart-testing (install)
uses: helm/[email protected]
with:
command: install
config: .ct.yaml