File tree 1 file changed +20
-8
lines changed
1 file changed +20
-8
lines changed Original file line number Diff line number Diff line change 7
7
pull_request :
8
8
9
9
env :
10
- KIND_VERSION : v0.23 .0
10
+ KIND_VERSION : v0.26 .0
11
11
12
12
jobs :
13
13
test-kind-create :
14
- runs-on : ubuntu-latest
14
+ runs-on : ${{ matrix.runson }}
15
15
strategy :
16
16
fail-fast : false
17
+ # TODO 添加 kcl 版本矩阵
18
+ # TODO 添加 linux arm
17
19
matrix :
18
20
image :
19
- - kindest/node:v1.30.2
20
- - kindest/node:v1.29 .0
21
- - kindest/node:v1.28 .0
21
+ - kindest/node:v1.32.0
22
+ - kindest/node:v1.31 .0
23
+ - kindest/node:v1.30 .0
22
24
cpcount :
23
25
- 1
24
26
- 3
25
27
workercount :
26
28
- 0
27
29
- 1
28
30
- 3
31
+ runson :
32
+ - ubuntu-latest
33
+ - ubuntu-24.04-arm
29
34
steps :
30
35
- name : Install
31
36
run : |
32
37
wget -q https://kcl-lang.io/script/install-cli.sh -O - | /bin/bash
33
38
- name : install kind
34
39
run : |
35
- wget https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz
36
- tar xvfz linux-amd64.tgz
40
+ export ARCH_NAME=`uname -m`
41
+ if [ "$ARCH_NAME" != "x86_64" ];then
42
+ wget https://kind.sigs.k8s.io/dl/latest/linux-arm64.tgz
43
+ tar xvfz linux-arm64.tgz
44
+ rm -f linux-amd64.tgz
45
+ else
46
+ wget https://kind.sigs.k8s.io/dl/latest/linux-amd64.tgz
47
+ tar xvfz linux-amd64.tgz
48
+ rm -f linux-amd64.tgz
49
+ fi
37
50
chmod +x kind
38
51
mv kind /usr/local/bin/
39
- rm -f linux-amd64.tgz
40
52
rm -f e2e-k8s.sh
41
53
#wget https://github.com/kubernetes-sigs/kind/releases/download/${KIND_VERSION}/kind-linux-amd64
42
54
#chmod +x kind-linux-amd64
You can’t perform that action at this time.
0 commit comments