-
Notifications
You must be signed in to change notification settings - Fork 20
90 lines (84 loc) · 2.34 KB
/
ci.yml
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: CI
on: [pull_request, workflow_dispatch]
jobs:
install_all_default:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup helmfile
uses: ./
- name: Test
run: |
ls -l ~/bin | wc -l | grep 4
helmfile --version | grep 0.157.0
kubectl version --client | grep 1.28.1
helm version | grep v3.13.1
helm plugin list | grep diff
helm plugin list | grep s3
install_helmfile_with_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup helmfile
uses: ./
with:
helmfile-version: "v0.135.0"
- name: Test
run: |
ls -l ~/bin | wc -l | grep 4
helmfile --version | grep 0.135.0
kubectl version --client | grep 1.28.1
helm version | grep v3.13.1
helm plugin list | grep diff
helm plugin list | grep s3
install_only_helmfile:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup helmfile
uses: ./
with:
install-kubectl: no
install-helm: no
- name: Test
run: |
ls -l ~/bin | wc -l | grep 2
helmfile --version | grep 0.157.0
kubectl version --client
helm plugin list | grep diff
helm plugin list | grep s3
install_only_helmfile_without_plugins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup helmfile
uses: ./
with:
install-kubectl: no
install-helm: no
install-helm-plugins: no
- name: Test
run: |
ls -l ~/bin | wc -l | grep 1
helmfile --version
kubectl version --client
helm version
helm plugin list | wc -l | grep 1
install_addtional_plugins:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup helmfile
uses: ./
with:
additional-helm-plugins: https://github.com/aslafy-z/helm-git --version 0.10.0,https://github.com/zendesk/helm-secrets
- name: Test
run: |
ls -l ~/bin | wc -l | grep 4
helmfile --version | grep 0.157.0
kubectl version --client | grep 1.28.1
helm version | grep v3.13.1
helm plugin list | grep diff
helm plugin list | grep helm-git
helm plugin list | grep s3
helm plugin list | grep secrets