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:
Felix Matouschek
2026-06-10 10:59:42 +02:00
parent 52c49bf96b
commit c3c6e8c660
2 changed files with 6 additions and 5 deletions

View File

@@ -156,7 +156,7 @@ jobs:
if: inputs.ansible_test_targets != '' if: inputs.ansible_test_targets != ''
uses: helm/kind-action@v1.14.0 uses: helm/kind-action@v1.14.0
with: with:
version: v0.31.0 version: v0.32.0
install_only: true install_only: true
- name: Deploy kubevirt - name: Deploy kubevirt

View File

@@ -23,12 +23,13 @@ set_default_params() {
BIN_DIR=${BIN_DIR:-$DIR/../bin} BIN_DIR=${BIN_DIR:-$DIR/../bin}
KIND=${KIND:-$BIN_DIR/kind} 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=${KUBECTL:-$BIN_DIR/kubectl}
KUBECTL_VERSION=${KUBECTL_VERSION:-v1.35.1} 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_CDI_VERSION=${KUBEVIRT_CDI_VERSION:-v1.65.0}
KUBEVIRT_USE_EMULATION=${KUBEVIRT_USE_EMULATION:-"false"} KUBEVIRT_USE_EMULATION=${KUBEVIRT_USE_EMULATION:-"false"}
@@ -127,7 +128,7 @@ create_registry() {
create_cluster() { create_cluster() {
if [ "${OPT_CREATE_REGISTRY}" == true ]; then if [ "${OPT_CREATE_REGISTRY}" == true ]; then
echo "Creating kind cluster with containerd registry config dir enabled" 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 kind: Cluster
apiVersion: kind.x-k8s.io/v1alpha4 apiVersion: kind.x-k8s.io/v1alpha4
containerdConfigPatches: containerdConfigPatches:
@@ -137,7 +138,7 @@ containerdConfigPatches:
EOF EOF
else else
echo "Creating cluster with kind" 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 fi
echo "Waiting for the network to be ready" echo "Waiting for the network to be ready"