File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,16 +18,27 @@ jobs:
1818 - name : Checkout
1919 uses : actions/checkout@v5
2020
21+ - name : Set up kubectl
22+ run : |
23+ KVER="$(curl -sL https://dl.k8s.io/release/stable.txt)"
24+ curl -L -o kubectl "https://dl.k8s.io/release/${KVER}/bin/linux/amd64/kubectl"
25+ chmod +x kubectl && sudo mv kubectl /usr/local/bin/
26+
2127 - name : Set up Helm
22- uses : azure/setup-helm@v4
28+ run : |
29+ HELM_VER="v3.18.6"
30+ curl -L "https://get.helm.sh/helm-${HELM_VER}-linux-amd64.tar.gz" | tar xz
31+ sudo mv linux-amd64/helm /usr/local/bin/helm
2332
24- - name : Create kind cluster
25- uses : helm/kind-action@v1.12.0
26- with :
27- cluster_name : devlake-e2e
33+ - name : Set up kind
34+ run : |
35+ KIND_VER="v0.30.0"
36+ curl -L -o kind "https://kind.sigs.k8s.io/dl/${KIND_VER}/kind-linux-amd64"
37+ chmod +x kind && sudo mv kind /usr/local/bin/kind
2838
29- - name : Set up kubectl
30- uses : azure/setup-kubectl@v4
39+ - name : Create cluster
40+ run : |
41+ kind create cluster --name devlake-smoke-test
3142
3243 - name : Add Helm repos
3344 run : |
You can’t perform that action at this time.
0 commit comments