From: Laura Flores Date: Mon, 22 Jan 2024 20:52:58 +0000 (+0000) Subject: qa/workunits/cephadm: enable nodejs:18 on centos 9 stream X-Git-Tag: v18.2.4~17 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=3cc042c6aa5868af0416c402be8b10e277da0d5b;p=ceph.git qa/workunits/cephadm: enable nodejs:18 on centos 9 stream Signed-off-by: Laura Flores (cherry picked from commit a602e5f0e0e48c40fd728ae382502826ca354828) (cherry picked from commit f19ee36410080a3c596fbcbf07308a338bb4066f) --- diff --git a/qa/workunits/cephadm/test_dashboard_e2e.sh b/qa/workunits/cephadm/test_dashboard_e2e.sh index 32e0bcc771d39..13746ec6de1af 100755 --- a/qa/workunits/cephadm/test_dashboard_e2e.sh +++ b/qa/workunits/cephadm/test_dashboard_e2e.sh @@ -20,6 +20,9 @@ install_common () { $SUDO apt-get update $SUDO apt-get install nodejs elif grep -q rhel /etc/*-release; then + if grep -q "CentOS Stream 9" /etc/*-release; then + NODEJS_VERSION="18" + fi $SUDO yum module -y enable nodejs:$NODEJS_VERSION $SUDO yum install -y jq npm else