mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-17 11:50:18 +00:00
ci: include build.env variables when installing Helm
By default the install-helm.sh script uses "latest" as version for Helm. Unfortunately this version does not exist. The HELM_VERSION variable is already set in build.env, so source the configuration file as one of the first actions in install-helm.sh. Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
parent
41be151ac6
commit
d4f18458de
@ -4,12 +4,15 @@
|
|||||||
|
|
||||||
TEMP="/tmp/cephcsi-helm-test"
|
TEMP="/tmp/cephcsi-helm-test"
|
||||||
|
|
||||||
|
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
||||||
|
# shellcheck source=build.env
|
||||||
|
[ ! -e "${SCRIPT_DIR}"/../build.env ] || source "${SCRIPT_DIR}"/../build.env
|
||||||
|
|
||||||
HELM="helm"
|
HELM="helm"
|
||||||
HELM_VERSION=${HELM_VERSION:-"latest"}
|
HELM_VERSION=${HELM_VERSION:-"latest"}
|
||||||
arch="${ARCH:-}"
|
arch="${ARCH:-}"
|
||||||
CEPHFS_CHART_NAME="ceph-csi-cephfs"
|
CEPHFS_CHART_NAME="ceph-csi-cephfs"
|
||||||
RBD_CHART_NAME="ceph-csi-rbd"
|
RBD_CHART_NAME="ceph-csi-rbd"
|
||||||
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
|
|
||||||
DEPLOY_TIMEOUT=600
|
DEPLOY_TIMEOUT=600
|
||||||
|
|
||||||
# ceph-csi specific variables
|
# ceph-csi specific variables
|
||||||
|
Loading…
Reference in New Issue
Block a user