]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/cephadm: enable nodejs:18 on centos 9 stream
authorLaura Flores <lflores@ibm.com>
Mon, 22 Jan 2024 20:52:58 +0000 (20:52 +0000)
committerCasey Bodley <cbodley@redhat.com>
Mon, 1 Jul 2024 15:56:57 +0000 (11:56 -0400)
Signed-off-by: Laura Flores <lflores@ibm.com>
(cherry picked from commit a602e5f0e0e48c40fd728ae382502826ca354828)

qa/workunits/cephadm/test_dashboard_e2e.sh

index 32e0bcc771d39457c235273e35731293ecd780b7..13746ec6de1afa70ba6454603ddfcc5a15d29bf0 100755 (executable)
@@ -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