From 6c4c6784c4832b5ef1a26dfe172adecacdbfd760 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 23 Nov 2020 17:47:37 +0100 Subject: [PATCH] ci: read ROOK_VERSION from build.env if available In case ROOK_VERSION is set in build.env, use the version from there. Otherwise fall back to version 1.3.9. Signed-off-by: Niels de Vos --- single-node-k8s.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/single-node-k8s.sh b/single-node-k8s.sh index ed95911c9..174bba798 100755 --- a/single-node-k8s.sh +++ b/single-node-k8s.sh @@ -68,7 +68,7 @@ function set_env() { export MEMORY="8192" export CEPH_CSI_RUN_ALL_TESTS=true # downloading rook images is sometimes slow, extend timeout to 15 minutes - export ROOK_VERSION='v1.3.9' + export ROOK_VERSION=${ROOK_VERSION:-'v1.3.9'} export ROOK_DEPLOY_TIMEOUT=900 # use podman for minikube.sh, Docker is not installed on the host export CONTAINER_CMD='podman'