]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
cephadm-dashboard-e2e: use node version from dashboard/frontend 2435/head
authorNizamudeen A <nia@redhat.com>
Tue, 26 Aug 2025 07:17:24 +0000 (12:47 +0530)
committerNizamudeen A <nia@redhat.com>
Tue, 26 Aug 2025 07:17:24 +0000 (12:47 +0530)
via .nvmrc

Signed-off-by: Nizamudeen A <nia@redhat.com>
ceph-dashboard-cephadm-e2e/config/definitions/ceph-dashboard-cephadm-e2e.yml

index db8be7d9bacf7c3b20f23afc3762093103d052f6..b900653c299dd56d904054771d3cf3d5cf416967 100644 (file)
           export NVM_DIR="$HOME/.nvm"
           [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
           [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
+
+          # use the node version from dashboard/frontend
+          nvm use "$(cat src/pybind/mgr/dashboard/frontend/.nvmrc)"
+
           timeout 7200 ./src/pybind/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh
 
     wrappers: