]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
deps: upgrade the node version to 16 2168/head
authorNizamudeen A <nia@redhat.com>
Thu, 5 Oct 2023 03:49:16 +0000 (09:19 +0530)
committerNizamudeen A <nia@redhat.com>
Thu, 5 Oct 2023 03:49:16 +0000 (09:19 +0530)
the reasoning for choosing the node 16 is because it supports angular
version 12, 13, 14 and 15. We have angular 12 in the pacific

Signed-off-by: Nizamudeen A <nia@redhat.com>
scripts/dashboard/install-cephadm-e2e-deps.sh

index 0db1a89a0b70738e71dfd4f26e5ef31cfa2c4e4c..7617d4d61a228a8956dd5656e228ce259defa41d 100644 (file)
@@ -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=14
+NODEJS_MAJOR_VERSION=16
 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