This repository was archived by the owner on Apr 25, 2023. It is now read-only.
File tree 6 files changed +9
-9
lines changed
6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ all: container hyperfed controller kubefedctl webhook e2e
77
77
# Unit tests
78
78
test :
79
79
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
80
- source <( setup-envtest use -p env 1.21 .x) && \
80
+ source <( setup-envtest use -p env 1.24 .x) && \
81
81
go test $(TEST_PKGS )
82
82
83
83
build : hyperfed controller kubefedctl webhook
Original file line number Diff line number Diff line change @@ -43,17 +43,17 @@ script if you'd like to change the default:
43
43
NUM_CLUSTERS=< num> ./scripts/create-clusters.sh
44
44
```
45
45
46
- The ` KIND_TAG ` is ` v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ` by default.
46
+ The ` KIND_TAG ` is ` v1.24.2 @sha256:1f0cee2282f43150b52dc7933183ed96abdcfc8d293f30ec07082495874876f1 ` by default.
47
47
Image ` kindest/node:v1.21.1@sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ` is used as
48
48
node docker image for booting the cluster.
49
49
50
50
You can use ` KIND_IMAGE ` or ` KIND_TAG ` to specify the image as you want.
51
51
``` bash
52
- KIND_TAG=v1.19.4 @sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b ./scripts/create-clusters.sh
52
+ KIND_TAG=v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ./scripts/create-clusters.sh
53
53
```
54
54
55
55
``` bash
56
- KIND_IMAGE=kindest/node:v1.19.4 @sha256:796d09e217d93bed01ecf8502633e48fd806fe42f9d02fdd468b81cd4e3bd40b ./scripts/create-clusters.sh
56
+ KIND_IMAGE=kindest/node:v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 ./scripts/create-clusters.sh
57
57
```
58
58
59
59
## Delete Clusters
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ set -o pipefail
25
25
source " ${BASH_SOURCE%/* } /util.sh"
26
26
NUM_CLUSTERS=" ${NUM_CLUSTERS:- 2} "
27
27
KIND_IMAGE=" ${KIND_IMAGE:- } "
28
- KIND_TAG=" ${KIND_TAG:- v1.21.1 @ sha256: 69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 } "
28
+ KIND_TAG=" ${KIND_TAG:- v1.24.2 @ sha256: 1f0cee2282f43150b52dc7933183ed96abdcfc8d293f30ec07082495874876f1 } "
29
29
OS=" $( uname) "
30
30
31
31
function create-clusters() {
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ curl "${curl_args}" "${kb_url}" \
50
50
| tar xzP -C " ${dest_dir} " --strip-components=2
51
51
52
52
go install sigs.k8s.io/controller-runtime/tools/setup-envtest@latest
53
- source <( setup-envtest use -p env 1.21 .x)
53
+ source <( setup-envtest use -p env 1.24 .x)
54
54
55
55
echo " KUBEBUILDER_ASSETS is set to ${KUBEBUILDER_ASSETS} "
56
56
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ mkdir -p "${dest_dir}"
36
36
37
37
# kind
38
38
platform=" $( uname -s| tr A-Z a-z) "
39
- kind_version=" v0.11.1 "
39
+ kind_version=" v0.14.0 "
40
40
kind_path=" ${dest_dir} /kind"
41
41
kind_url=" https://github.com/kubernetes-sigs/kind/releases/download/${kind_version} /kind-${platform} -amd64"
42
42
curl -fLo " ${kind_path} " " ${kind_url} " && chmod +x " ${kind_path} "
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ function download-dependencies() {
57
57
}
58
58
59
59
function run-unit-tests() {
60
- KUBEBUILDER_ASSETS= ${ROOT_DIR} /bin ${MAKE_CMD} test
60
+ ${MAKE_CMD} test
61
61
}
62
62
63
63
function run-e2e-tests() {
@@ -188,7 +188,7 @@ run-unit-tests
188
188
echo " Downloading e2e test dependencies"
189
189
./scripts/download-e2e-binaries.sh
190
190
191
- KIND_TAG=" v1.21.1 @sha256:69860bda5563ac81e3c0057d654b5253219618a22ec3a346306239bba8cfa1a6 " ./scripts/create-clusters.sh
191
+ KIND_TAG=" v1.24.2 @sha256:1f0cee2282f43150b52dc7933183ed96abdcfc8d293f30ec07082495874876f1 " ./scripts/create-clusters.sh
192
192
193
193
declare -a join_cluster_list=()
194
194
if [[ -z " ${JOIN_CLUSTERS} " ]]; then
You can’t perform that action at this time.
0 commit comments