From f51a0239b353553ec4b0ff1da13bfa244610bd8b Mon Sep 17 00:00:00 2001 From: Graham Hayes Date: Fri, 15 Mar 2019 14:53:48 +0000 Subject: [PATCH] Update nodeJS PTI version for Train Update the nodeJS version that we should use for javascript based testing in openstack. Change-Id: I1a594acc8f430c95d3a32f767e5508d0fcc65ac9 Signed-off-by: Graham Hayes --- reference/pti/javascript.rst | 12 ++++++------ reference/runtimes/train.rst | 10 ++++++++++ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/reference/pti/javascript.rst b/reference/pti/javascript.rst index 356ff49e0..a5f0617ac 100644 --- a/reference/pti/javascript.rst +++ b/reference/pti/javascript.rst @@ -1,3 +1,5 @@ +.. _pti-javascript: + ===================================== Project Testing Interface: JavaScript ===================================== @@ -60,12 +62,10 @@ The following commands are still under discussion: Project Setup ------------- -node and npm version -==================== -We support the current version of node.js and npm available in the LTS -releases of Ubuntu. As of this writing, these are Node v0.10.29 and -npm v1.4.21. While these versions are no longer supported, this restriction is -imposed by our package maintainers. +Node.js and npm version +======================= +We support versions of Node.js and npm available in the from nodesource.com +debian archive for our LTS versions of Ubuntu. npm scripts =========== diff --git a/reference/runtimes/train.rst b/reference/runtimes/train.rst index 38e2a29e6..994ae47c9 100644 --- a/reference/runtimes/train.rst +++ b/reference/runtimes/train.rst @@ -24,6 +24,16 @@ all Python-based projects must target and test against, at a minimum: More details on Python requirements can be found in :ref:`pti-python`. +Node.js Runtime for Train +========================= + +Based on the availible versions of Node.js supported in our :ref:`LTS or stable +distributions ` all JavaScript testing should target: + +* Node.js 10 + +More details on Javascript requirements can be found in :ref:`pti-javascript`. + Golang Runtime for Train ========================