From df02ad3c3916dd108891f066361ed124cc890da8 Mon Sep 17 00:00:00 2001 From: Kashif Khan Date: Mon, 20 May 2024 08:56:47 +0300 Subject: [PATCH] Make minikube the default ephemeral cluster This PR makes minikube the default ephemeral cluster irrespective of container runtime or image OS. The idea is to run Ubuntu tests only for the time being in different repos until CI is stable. Centos e2es are failing more often. Making minikube ephemeral cluster makes sure that we test ironic as a k8s deployment instead of local containers. Signed-off-by: Kashif Khan --- lib/common.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/common.sh b/lib/common.sh index 6bc7bfcd4..3616968f4 100644 --- a/lib/common.sh +++ b/lib/common.sh @@ -330,11 +330,7 @@ export KUBERNETES_BINARIES_VERSION="${KUBERNETES_BINARIES_VERSION:-${KUBERNETES_ export KUBERNETES_BINARIES_CONFIG_VERSION=${KUBERNETES_BINARIES_CONFIG_VERSION:-"v0.15.1"} # Ephemeral Cluster -if [[ "${CONTAINER_RUNTIME}" = "docker" ]]; then - export EPHEMERAL_CLUSTER=${EPHEMERAL_CLUSTER:-"kind"} -else - export EPHEMERAL_CLUSTER="minikube" -fi +export EPHEMERAL_CLUSTER="minikube" # Kubectl version (do not forget to update KUBECTL_SHA256 when changing KUBERNETES_VERSION!) export KUBECTL_VERSION="${KUBECTL_VERSION:-${KUBERNETES_BINARIES_VERSION}}"