From: Kefu Chai Date: Mon, 8 Aug 2022 16:04:17 +0000 (+0800) Subject: dashboard-cephadm-e2e: bump node version to 14 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F2047%2Fhead;p=ceph-build.git dashboard-cephadm-e2e: bump node version to 14 as node.js 12 is being deprecated. and the oldest node.js which is packaged by https://github.com/nodesource is node.js 14. see https://github.com/nodesource/distributions#debinstall Signed-off-by: Kefu Chai --- diff --git a/scripts/dashboard/install-cephadm-e2e-deps.sh b/scripts/dashboard/install-cephadm-e2e-deps.sh index 0380112d..8d500794 100644 --- a/scripts/dashboard/install-cephadm-e2e-deps.sh +++ b/scripts/dashboard/install-cephadm-e2e-deps.sh @@ -20,7 +20,7 @@ sudo apt update -y sudo apt install -y apt-transport-https ca-certificates curl gnupg lsb-release \ openssh-server software-properties-common -NODEJS_MAJOR_VERSION=12 +NODEJS_MAJOR_VERSION=14 DISTRO="$(lsb_release -cs)" if [[ ! $(command -v node) || $(node --version | grep -oE "v([0-9])+" | cut -c 2-) < ${NODEJS_MAJOR_VERSION} ]]; then sudo add-apt-repository -y -r ppa:chris-lea/node.js