Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4d3420f

Browse files
authoredJan 14, 2020
Merge pull request fluxcd#2743 from fluxcd/e2e-kind-up
e2e: Update Kind to v0.7.0
2 parents 4d700dd + cb319f2 commit 4d3420f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed
 

‎test/e2e/run.bash

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ FLUX_ROOT_DIR="$(git rev-parse --show-toplevel)"
1010
E2E_DIR="${FLUX_ROOT_DIR}/test/e2e"
1111
CACHE_DIR="${FLUX_ROOT_DIR}/cache/$CURRENT_OS_ARCH"
1212

13-
KIND_VERSION="v0.6.1"
13+
KIND_VERSION=v0.7.0
14+
KUBE_VERSION=v1.14.10
1415
KIND_CACHE_PATH="${CACHE_DIR}/kind-$KIND_VERSION"
1516
KIND_CLUSTER_PREFIX=flux-e2e
1617
BATS_EXTRA_ARGS=""
@@ -51,7 +52,7 @@ if ! kubectl version > /dev/null 2>&1; then
5152
# Wire tests with the right cluster based on their BATS_JOB_SLOT env variable
5253
eval export "KUBECONFIG_SLOT_${I}=${KIND_CONFIG_PREFIX}-${I}"
5354
done
54-
seq 1 "${E2E_KIND_CLUSTER_NUM}" | time parallel -- env KUBECONFIG="${KIND_CONFIG_PREFIX}-{}" kind create cluster --name "${KIND_CLUSTER_PREFIX}-{}" --wait 5m
55+
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}
5556

5657
echo '>>> Loading images into the Kind cluster(s)'
5758
seq 1 "${E2E_KIND_CLUSTER_NUM}" | time parallel -- kind --name "${KIND_CLUSTER_PREFIX}-{}" load docker-image 'docker.io/fluxcd/flux:latest'

0 commit comments

Comments
 (0)
Please sign in to comment.