Skip to content

Commit 931506d

Browse files
authored
Set up tools manually in smoke-test workflow (#351)
Signed-off-by: kahirokunn <okinakahiro@gmail.com>
1 parent 9d32ec3 commit 931506d

1 file changed

Lines changed: 18 additions & 7 deletions

File tree

.github/workflows/smoke-test.yml

Lines changed: 18 additions & 7 deletions
Original file line numberDiff line numberDiff 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: |

0 commit comments

Comments
 (0)