-
Notifications
You must be signed in to change notification settings - Fork 1
60 lines (47 loc) · 1.18 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
name: CI
on:
push:
branches:
- main
pull_request: {}
jobs:
test-kubernetes:
name: Test Kubernetes
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: sudo bash kubernetes.sh
- name: Test override
run: sudo KUBECTL_VERSION=v1.25.4 bash kubernetes.sh
test-openshift:
name: Test Openshift
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: sudo bash openshift.sh
- name: Test override
run: sudo OPERATOR_SDK_VERSION=v1.34.1 bash openshift.sh
test-k9s:
name: Test k9s
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: sudo bash k9s.sh -y
- name: Test k9s override
run: sudo K9S_VERSION=v0.32.4 bash k9s.sh -y
test-krew:
name: Test krew
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Test
run: sudo bash krew.sh -y
- name: Test krew override
run: sudo KREW_VERSION=v0.4.4 bash krew.sh -y