]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
mgr/dashboard: Update node version
authorTiago Melo <tmelo@suse.com>
Wed, 20 Jun 2018 09:25:24 +0000 (10:25 +0100)
committerTiago Melo <tmelo@suse.com>
Wed, 20 Jun 2018 09:25:24 +0000 (10:25 +0100)
Updated node version to the latest LTS.

Updated 'HACKING.rst' to reflect the current node/npm version requirements.

Signed-off-by: Tiago Melo <tmelo@suse.com>
src/pybind/mgr/dashboard/CMakeLists.txt
src/pybind/mgr/dashboard/HACKING.rst

index 2b050f6c6e6f20390f9f6c8e363a5d166b4c5bb6..d5d000dc850811482e25d810abed5b80783f1bf2 100644 (file)
@@ -15,7 +15,7 @@ add_custom_command(
   OUTPUT "${mgr-dashboard-nodeenv}/bin/npm"
   COMMAND ${CMAKE_SOURCE_DIR}/src/tools/setup-virtualenv.sh --python=${MGR_PYTHON_EXECUTABLE} ${mgr-dashboard-nodeenv}
   COMMAND ${mgr-dashboard-nodeenv}/bin/pip install nodeenv
-  COMMAND ${mgr-dashboard-nodeenv}/bin/nodeenv -p -n 8.10.0
+  COMMAND ${mgr-dashboard-nodeenv}/bin/nodeenv -p -n 8.11.3
   WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
   COMMENT "dashboard nodeenv is being installed"
 )
index b82d9f6cea9b4c057d7725c9a867c6becc7f5301..46efba7407e49fcad4555f1a628c5275ab27d431 100644 (file)
@@ -15,8 +15,8 @@ The build process is based on `Node.js <https://nodejs.org/>`_ and requires the
 Prerequisites
 ~~~~~~~~~~~~~
 
- * Node 6.9.0 or higher
- * NPM 3 or higher
+ * Node 8.9.0 or higher
+ * NPM 5.5.1 or higher
 
 nodeenv:
   During Ceph's build we create a virtualenv with ``node`` and ``npm``