From 5bdf81c7f8f51776839ac63a9cb8a25fbada36c0 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 9 Aug 2022 00:04:17 +0800 Subject: [PATCH] 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 --- scripts/dashboard/install-cephadm-e2e-deps.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.47.3