From cb319f2f7878f33369cf54139df26867aa6632ca Mon Sep 17 00:00:00 2001 From: stefanprodan Date: Tue, 14 Jan 2020 13:09:11 +0200 Subject: [PATCH] Update Kind to v0.7.0 Set Kubernetes version to 1.14.10 for e2e tests --- test/e2e/run.bash | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/e2e/run.bash b/test/e2e/run.bash index cc8822ba0..1d9d56da4 100755 --- a/test/e2e/run.bash +++ b/test/e2e/run.bash @@ -10,7 +10,8 @@ FLUX_ROOT_DIR="$(git rev-parse --show-toplevel)" E2E_DIR="${FLUX_ROOT_DIR}/test/e2e" CACHE_DIR="${FLUX_ROOT_DIR}/cache/$CURRENT_OS_ARCH" -KIND_VERSION="v0.6.1" +KIND_VERSION=v0.7.0 +KUBE_VERSION=v1.14.10 KIND_CACHE_PATH="${CACHE_DIR}/kind-$KIND_VERSION" KIND_CLUSTER_PREFIX=flux-e2e BATS_EXTRA_ARGS="" @@ -51,7 +52,7 @@ if ! kubectl version > /dev/null 2>&1; then # Wire tests with the right cluster based on their BATS_JOB_SLOT env variable eval export "KUBECONFIG_SLOT_${I}=${KIND_CONFIG_PREFIX}-${I}" done - seq 1 "${E2E_KIND_CLUSTER_NUM}" | time parallel -- env KUBECONFIG="${KIND_CONFIG_PREFIX}-{}" kind create cluster --name "${KIND_CLUSTER_PREFIX}-{}" --wait 5m + seq 1 "${E2E_KIND_CLUSTER_NUM}" | time parallel -- env KUBECONFIG="${KIND_CONFIG_PREFIX}-{}" kind create cluster --name "${KIND_CLUSTER_PREFIX}-{}" --wait 5m --image kindest/node:${KUBE_VERSION} echo '>>> Loading images into the Kind cluster(s)' seq 1 "${E2E_KIND_CLUSTER_NUM}" | time parallel -- kind --name "${KIND_CLUSTER_PREFIX}-{}" load docker-image 'docker.io/fluxcd/flux:latest'