ci: read ROOK_CEPH_CLUSTER_IMAGE from build.env if available

In case ROOK_CEPH_CLUSTER_IMAGE is set in build.env, use the
version from there.

Signed-off-by: Mudit Agarwal <muagarwa@redhat.com>
This commit is contained in:
Mudit Agarwal 2021-02-18 23:38:41 +05:30 committed by mergify[bot]
parent 322a7e4e08
commit 92913912ef

View File

@ -70,6 +70,7 @@ function set_env() {
# downloading rook images is sometimes slow, extend timeout to 15 minutes # downloading rook images is sometimes slow, extend timeout to 15 minutes
export ROOK_VERSION=${ROOK_VERSION:-'v1.3.9'} export ROOK_VERSION=${ROOK_VERSION:-'v1.3.9'}
export ROOK_DEPLOY_TIMEOUT=900 export ROOK_DEPLOY_TIMEOUT=900
export ROOK_CEPH_CLUSTER_IMAGE="${ROOK_CEPH_CLUSTER_IMAGE}"
# use podman for minikube.sh, Docker is not installed on the host # use podman for minikube.sh, Docker is not installed on the host
export CONTAINER_CMD='podman' export CONTAINER_CMD='podman'