mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
ci: move HELM_VERSION to build.env
Signed-off-by: Niels de Vos <ndevos@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
079459c247
commit
21946ae345
@ -5,7 +5,7 @@
|
||||
TEMP="/tmp/cephcsi-helm-test"
|
||||
|
||||
HELM="helm"
|
||||
HELM_VERSION=${HELM_VERSION:-"v3.1.2"}
|
||||
HELM_VERSION=${HELM_VERSION:-"latest"}
|
||||
arch="${ARCH:-}"
|
||||
CEPHFS_CHART_NAME="ceph-csi-cephfs"
|
||||
RBD_CHART_NAME="ceph-csi-rbd"
|
||||
|
@ -10,6 +10,17 @@ export KUBE_VERSION=$1
|
||||
kube_version() {
|
||||
echo "${KUBE_VERSION}" | sed 's/^v//' | cut -d'.' -f"${1}"
|
||||
}
|
||||
|
||||
# configure global environment variables
|
||||
# shellcheck source=build.env
|
||||
source "$(dirname "${0}")/../build.env"
|
||||
cat << EOF | sudo tee -a /etc/environment
|
||||
HELM_VERSION=${HELM_VERSION}
|
||||
EOF
|
||||
|
||||
# helm is installed from this shell, not a new one that reads /etc/environment
|
||||
export HELM_VERSION=${HELM_VERSION}
|
||||
|
||||
sudo scripts/minikube.sh up
|
||||
sudo scripts/minikube.sh deploy-rook
|
||||
sudo scripts/minikube.sh create-block-pool
|
||||
|
Reference in New Issue
Block a user