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 <ndevos@redhat.com>
This commit is contained in:
Niels de Vos 2020-11-23 17:47:37 +01:00 committed by mergify[bot]
parent 5ae8fb7c9b
commit 6c4c6784c4

View File

@ -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'