-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (46 loc) · 1.2 KB
/
main.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
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
default:
runs-on: ubuntu-latest
name: Run with default
steps:
- uses: actions/checkout@v4
- id: kind
name: Install Kind with registry
uses: ./
- name: Print registry
run: |
echo Kind registry: ${{ steps.kind.outputs.registry }} >> $GITHUB_STEP_SUMMARY
- name: Test tools
run: |
echo jq
jq --version
echo yq
yq --version
echo helm
helm version
echo chainsaw
chainsaw version
echo kubectl
kubectl version
kubectl get nodes
parametrized:
runs-on: ubuntu-latest
name: Run parameterized
steps:
- uses: actions/checkout@v4
- id: kind
name: Install Kind with registry
uses: bakito/kind-with-registry-action@main
with:
ingress_enabled: true
ingress_version: helm-chart-4.11.2
kind_version: v0.23.0
kubectl_version: v1.30.0
- name: Print ingress class
run: |
echo Ingress class name: ${{ steps.kind.outputs.ingress_class_name }} >> $GITHUB_STEP_SUMMARY