-
Notifications
You must be signed in to change notification settings - Fork 60
48 lines (46 loc) · 1.42 KB
/
main.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
---
name: Main
on: [push, pull_request]
jobs:
single-node:
name: "Single node"
strategy:
fail-fast: false
matrix:
container_engine: [docker, nerdctl, podman]
uses: ./.github/workflows/reusable-single-node.yaml
with:
container_engine: ${{ matrix.container_engine }}
multi-node:
name: "Multi node"
strategy:
fail-fast: false
matrix:
include:
- lima_template: template://ubuntu-24.04
container_engine: docker
- lima_template: template://ubuntu-24.04
container_engine: nerdctl
- lima_template: template://centos-stream-9
container_engine: podman
- lima_template: template://fedora
container_engine: podman
uses: ./.github/workflows/reusable-multi-node.yaml
with:
lima_template: ${{ matrix.lima_template }}
container_engine: ${{ matrix.container_engine }}
# TODO: this test should create multiple instances of Usernetes on each of the hosts
multi-node-custom-ports:
name: "Multi node with custom service ports"
uses: ./.github/workflows/reusable-multi-node.yaml
with:
lima_template: "template://ubuntu-24.04"
container_engine: "docker"
# Defaults to 6443
kube_apiserver_port: "8080"
# Defaults to 8472
flannel_port: "9072"
# Defaults to 10250
kubelet_port: "20250"
# Defaults to 2379
etcd_port: "9090"