mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-25 08:54:43 +00:00
fix(ci): update e2e-setup versions, pin K8s 1.35
Update kind v0.31.0 -> v0.32.0 and KubeVirt v1.8.2 -> v1.8.3. Pin the kind node image to K8s 1.35 since KubeVirt v1.8 does not yet support K8s 1.36 (kind v0.32.0 defaults to 1.36). Supersedes: #243 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Felix Matouschek <fmatouschek@redhat.com>
This commit is contained in:
@@ -23,12 +23,13 @@ set_default_params() {
|
||||
BIN_DIR=${BIN_DIR:-$DIR/../bin}
|
||||
|
||||
KIND=${KIND:-$BIN_DIR/kind}
|
||||
KIND_VERSION=${KIND_VERSION:-v0.31.0}
|
||||
KIND_VERSION=${KIND_VERSION:-v0.32.0}
|
||||
KIND_NODE_IMAGE=${KIND_NODE_IMAGE:-kindest/node:v1.35.5}
|
||||
|
||||
KUBECTL=${KUBECTL:-$BIN_DIR/kubectl}
|
||||
KUBECTL_VERSION=${KUBECTL_VERSION:-v1.35.1}
|
||||
|
||||
KUBEVIRT_VERSION=${KUBEVIRT_VERSION:-v1.8.2}
|
||||
KUBEVIRT_VERSION=${KUBEVIRT_VERSION:-v1.8.3}
|
||||
KUBEVIRT_CDI_VERSION=${KUBEVIRT_CDI_VERSION:-v1.65.0}
|
||||
KUBEVIRT_USE_EMULATION=${KUBEVIRT_USE_EMULATION:-"false"}
|
||||
|
||||
@@ -127,7 +128,7 @@ create_registry() {
|
||||
create_cluster() {
|
||||
if [ "${OPT_CREATE_REGISTRY}" == true ]; then
|
||||
echo "Creating kind cluster with containerd registry config dir enabled"
|
||||
cat <<EOF | DOCKER_HOST=unix://${_cri_socket} ${KIND} create cluster --wait 2m --name "${CLUSTER_NAME}" --config=-
|
||||
cat <<EOF | DOCKER_HOST=unix://${_cri_socket} ${KIND} create cluster --wait 2m --name "${CLUSTER_NAME}" --image "${KIND_NODE_IMAGE}" --config=-
|
||||
kind: Cluster
|
||||
apiVersion: kind.x-k8s.io/v1alpha4
|
||||
containerdConfigPatches:
|
||||
@@ -137,7 +138,7 @@ containerdConfigPatches:
|
||||
EOF
|
||||
else
|
||||
echo "Creating cluster with kind"
|
||||
DOCKER_HOST=unix://${_cri_socket} ${KIND} create cluster --wait 2m --name "${CLUSTER_NAME}"
|
||||
DOCKER_HOST=unix://${_cri_socket} ${KIND} create cluster --wait 2m --name "${CLUSTER_NAME}" --image "${KIND_NODE_IMAGE}"
|
||||
fi
|
||||
|
||||
echo "Waiting for the network to be ready"
|
||||
|
||||
Reference in New Issue
Block a user