File tree 4 files changed +29
-16
lines changed
4 files changed +29
-16
lines changed Original file line number Diff line number Diff line change
1
+ ---
1
2
version : 2
2
3
updates :
3
- - package-ecosystem : " github-actions"
4
- directory : " /"
5
- schedule :
6
- interval : weekly
7
- open-pull-requests-limit : 10
4
+ - package-ecosystem : " github-actions"
5
+ directory : " /"
6
+ schedule :
7
+ interval : weekly
8
+ open-pull-requests-limit : 10
9
+ groups :
10
+ actions :
11
+ update-types :
12
+ - " minor"
13
+ - " patch"
Original file line number Diff line number Diff line change 78
78
- name : Create kind cluster with custom name
79
79
uses : ./
80
80
with :
81
- kubectl_version : " v1.27.1 "
81
+ kubectl_version : " v1.29.3 "
82
82
83
83
- name : Test
84
84
run : |
@@ -110,7 +110,7 @@ jobs:
110
110
- name : Create kind cluster with custom name
111
111
uses : ./
112
112
with :
113
- kubectl_version : " v1.24.6 "
113
+ kubectl_version : " v1.29.3 "
114
114
ignore_failed_clean : true
115
115
116
116
- name : Test
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ branding:
6
6
icon : box
7
7
inputs :
8
8
version :
9
- description : " The kind version to use (default: v0.21 .0)"
9
+ description : " The kind version to use (default: v0.22 .0)"
10
10
required : false
11
- default : " v0.21 .0"
11
+ default : " v0.22 .0"
12
12
config :
13
13
description : " The path to the kind config file"
14
14
required : false
@@ -28,15 +28,15 @@ inputs:
28
28
default : " 0"
29
29
required : false
30
30
kubectl_version :
31
- description : " The kubectl version to use (default: v1.28.6 )"
31
+ description : " The kubectl version to use (default: v1.29.3 )"
32
32
required : false
33
- default : " v1.28.6 "
33
+ default : " v1.29.3 "
34
34
install_only :
35
35
description : " Skips cluster creation, only install kind (default: false)"
36
36
required : false
37
37
ignore_failed_clean :
38
38
description : " Whether to ignore the post-delete the cluster (default: false)"
39
- default : false
39
+ default : " false"
40
40
required : false
41
41
runs :
42
42
using : " node20"
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ set -o errexit
18
18
set -o nounset
19
19
set -o pipefail
20
20
21
- DEFAULT_KIND_VERSION=v0.21 .0
21
+ DEFAULT_KIND_VERSION=v0.22 .0
22
22
DEFAULT_CLUSTER_NAME=chart-testing
23
- DEFAULT_KUBECTL_VERSION=v1.28.6
23
+ DEFAULT_KUBECTL_VERSION=v1.29.3
24
24
25
25
show_help () {
26
26
cat << EOF
@@ -62,6 +62,7 @@ main() {
62
62
i686) arch=" 386" ;;
63
63
x86_64) arch=" amd64" ;;
64
64
arm|aarch64|arm64) arch=" arm64" ;;
65
+ * ) exit 1 ;;
65
66
esac
66
67
local cache_dir=" ${RUNNER_TOOL_CACHE} /kind/${version} /${arch} "
67
68
@@ -188,8 +189,14 @@ install_kind() {
188
189
189
190
mkdir -p " ${kind_dir} "
190
191
191
- curl -sSLo " ${kind_dir} /kind" " https://github.com/kubernetes-sigs/kind/releases/download/${version} /kind-linux-${arch} "
192
- chmod +x " ${kind_dir} /kind"
192
+ pushd " ${kind_dir} "
193
+ wget " https://github.com/kubernetes-sigs/kind/releases/download/${version} /kind-linux-${arch} "
194
+ wget " https://github.com/kubernetes-sigs/kind/releases/download/${version} /kind-linux-${arch} .sha256sum"
195
+ grep " kind-linux-${arch} " < " kind-linux-${arch} .sha256sum" | sha256sum -c
196
+ mv " kind-linux-${arch} " kind
197
+ rm -f " kind-linux-${arch} .sha256sum"
198
+ chmod +x kind
199
+ popd
193
200
}
194
201
195
202
install_kubectl () {
You can’t perform that action at this time.
0 commit comments