@@ -3,11 +3,12 @@ name: "Ubuntu kind CI workflow"
33
44on :
55 push :
6- branches : [ main ]
6+ branches : [ test ]
77 schedule :
88 # https://crontab.guru/
99 # https://docs.github.com/en/actions/reference/events-that-trigger-workflows
10- - cron : ' 0 0 * * FRI' # #execution of a task in the first minute of the month
10+ # - cron: '0 0 * * FRI' ##execution of a task in the first minute of the month
11+
1112
1213jobs :
1314
@@ -19,40 +20,67 @@ jobs:
1920 - uses : actions/checkout@v2
2021 - name : " os fingerprinting"
2122 run : hostnamectl status
22- - name : " deploy kind"
23- run : sudo make deploy-kind
24- - name : " create cluster"
25- run : sudo kind create cluster --config=app/kind-config.yaml
26- - name : " kubectl cluster-info"
27- run : sudo kubectl cluster-info --context kind-kind
23+ # https://kind.sigs.k8s.io/docs/user/quick-start/
24+ - name : " Installing From Release Binaries"
25+ run : |
26+ curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
27+ chmod +x ./kind
28+ mv ./kind /usr/local/bin/kind
29+ kind create cluster # Default cluster context name is `kind`.
30+ kind create cluster --name kind-2
31+ kind get clusters
32+ kubectl cluster-info --context kind-kind
33+ kubectl cluster-info --context kind-kind-2
34+ - name : " Installing From Release Binaries with cfg yaml"
35+ run : |
36+ curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
37+ chmod +x ./kind
38+ mv ./kind /usr/local/bin/kind
39+ kind create cluster --config /app/kind-example-config.yaml
40+ kind get clusters
41+ # kubectl cluster-info --context kind-kind
42+ # kubectl cluster-info --context kind-kind-2
43+ - name : " Installing From Release Binaries with cfg yaml multi controlplane"
44+ run : |
45+ curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.11.1/kind-linux-amd64
46+ chmod +x ./kind
47+ mv ./kind /usr/local/bin/kind
48+ kind create cluster --config /app/kind-example-config.yaml
49+ kind get clusters
50+ # kubectl cluster-info --context kind-kind
51+ # kubectl cluster-info --context kind-kind-2
52+ # - name: "create cluster"
53+ # run: sudo kind create cluster --config=app/kind-config.yaml
54+ # - name: "kubectl cluster-info"
55+ # run: sudo kubectl cluster-info --context kind-kind
2856
29- ubuntu-2004-job :
30- name : " ubuntu-20.04 minikube job"
31- runs-on : ubuntu-20.04
32- steps :
33- - uses : actions/checkout@v2
34- - name : " os fingerprinting"
35- run : hostnamectl status
36- - name : " deploy kind"
37- run : sudo make deploy-kind
38- - name : " create cluster"
39- run : sudo kind create cluster --config=app/kind-config.yaml
40- - name : " kubectl cluster-info"
41- run : sudo kubectl cluster-info --context kind-kind
57+ # ubuntu-2004-job:
58+ # name: "ubuntu-20.04 minikube job"
59+ # runs-on: ubuntu-20.04
60+ # steps:
61+ # - uses: actions/checkout@v2
62+ # - name: "os fingerprinting"
63+ # run: hostnamectl status
64+ # - name: "deploy kind"
65+ # run: sudo make deploy-kind
66+ # - name: "create cluster"
67+ # run: sudo kind create cluster --config=app/kind-config.yaml
68+ # - name: "kubectl cluster-info"
69+ # run: sudo kubectl cluster-info --context kind-kind
4270
43- ubuntu-1804-job :
44- name : " ubuntu-18.04 minikube job"
45- runs-on : ubuntu-18.04
46- steps :
47- - uses : actions/checkout@v2
48- - name : " os fingerprinting"
49- run : hostnamectl status
50- - name : " deploy kind"
51- run : sudo make deploy-kind
52- - name : " create cluster"
53- run : sudo kind create cluster --config=app/kind-config.yaml
54- - name : " kubectl cluster-info"
55- run : sudo kubectl cluster-info --context kind-kind
71+ # ubuntu-1804-job:
72+ # name: "ubuntu-18.04 minikube job"
73+ # runs-on: ubuntu-18.04
74+ # steps:
75+ # - uses: actions/checkout@v2
76+ # - name: "os fingerprinting"
77+ # run: hostnamectl status
78+ # - name: "deploy kind"
79+ # run: sudo make deploy-kind
80+ # - name: "create cluster"
81+ # run: sudo kind create cluster --config=app/kind-config.yaml
82+ # - name: "kubectl cluster-info"
83+ # run: sudo kubectl cluster-info --context kind-kind
5684
5785 # deprecated
5886 # ubuntu-1604-job:
0 commit comments