-
Notifications
You must be signed in to change notification settings - Fork 2
60 lines (58 loc) · 1.5 KB
/
istio-authorizer-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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: istio-authorizer chart test
on:
push:
tags-ignore:
- "*"
branches:
- 'release/**'
paths:
- 'charts/istio-authorizer/Chart.yaml'
pull_request:
paths:
- 'charts/istio-authorizer/**'
- 'tests/**'
env:
CHART: istio-authorizer
jobs:
lint:
name: Linters
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Helm lint
run: make helm-lint
- name: Kubeeval lint
run: make lint-kubeeval
- name: Check kubernetes APIs
run: make check-kube-apis
test:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
env:
DOCKER_USER: ${{ secrets.DOCKER_USER }}
DOCKER_PWD: ${{ secrets.DOCKER_PWD }}
run: make prepare
- name: Verify
run: CHART=acp make verify
- name: install-istio
run: make install-istio
- name: install
run: NAMESPACE=istio-authorizer make install
- name: wait
run: NAMESPACE=istio-authorizer make wait-for-daemonset
- name: update-istio-configmap
run: make update-istio-configmap
- name: install-example-httpbin
run: make install-example-httpbin
- name: wait for httpbin
run: CHART=httpbin NAMESPACE=default make wait
- name: Helm tests
run: NAMESPACE=istio-authorizer make helm-test
- name: Debug
if: failure()
run: make debug