Page MenuHomePhabricator

MediaWiki-Vagrant should use the same Node.js version as Wikimedia production
Open, Needs TriagePublic

Description

Wikimedia production uses Node.js 6.11.0. Vagrant uses 6.16.0 (currently; for some reason only the major version is pinned). It should match production, or (preferably) make it possible to select the node version per service.

Related Objects

Event Timeline

Tgr created this task.Feb 26 2019, 4:12 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 26 2019, 4:12 AM

Given we've been migrating to 10, we should also bump to that.

zeljkofilipin added a subscriber: zeljkofilipin.

We should use the same version of node/npm across mw-vagrant, CI and production. See T210506#5065817.

Node 6 end of life is next month (2019-04-30).

hashar added a subscriber: hashar.EditedJul 25 2019, 6:16 PM

We are now using NodeJS 10. That can be aligned with Wikimedia production by using:

/etc/apt/sources.list.d/wikimedia-node10.list
deb http://apt.wikimedia.org/wikimedia stretch-wikimedia component/node10
#deb-src http://apt.wikimedia.org/wikimedia stretch-wikimedia component/node10