File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ kind : Cluster
2
+ apiVersion : kind.x-k8s.io/v1alpha4
3
+ nodes :
4
+ - role : control-plane
5
+ - role : worker
Original file line number Diff line number Diff line change 32
32
echo "${files}"
33
33
exit 1
34
34
fi
35
+
36
+ kind-e2e :
37
+ name : Test with a Kind cluster
38
+ runs-on : [ubuntu-latest]
39
+ steps :
40
+ - uses : actions/checkout@v1
41
+ - uses : actions/setup-go@v1
42
+ with :
43
+ go-version : 1.14
44
+ - name : Install latest version of Kind
45
+ run : |
46
+ GO111MODULE=on go get sigs.k8s.io/kind
47
+ - name : Create Kind cluster
48
+ run : |
49
+ PATH=$(go env GOPATH)/bin:$PATH kind create cluster --config .github/workflows/kind-config.yaml
50
+ - name : Run some sanity checks
51
+ # kubectl is already installed on the Github Ubuntu worker
52
+ run : |
53
+ kubectl get nodes -o wide
54
+ kubectl get pods --all-namespaces -o wide
55
+ kubectl get services --all-namespaces -o wide
You can’t perform that action at this time.
0 commit comments