Page MenuHomePhabricator

Update sonar scanner node version from v14 to v16
Closed, ResolvedPublic

Description

Sonar scanner is currently using v14 node version which is now deprecated. This should be updated to use v16

node_version.png (156×3 px, 65 KB)

Auth: 'sonar.login' property is now deprecated and should be changed to 'sonar.token'
token.png (100×2 px, 34 KB)

Event Timeline

pwangai changed the task status from Open to In Progress.Oct 12 2023, 9:31 AM

Change 965502 had a related patch set uploaded (by Pwangai; author: Pwangai):

[integration/config@master] dockerfiles: [sonar-scanner] Upgrade nodejs from node14 to node16

https://gerrit.wikimedia.org/r/965502

Change 965502 merged by jenkins-bot:

[integration/config@master] dockerfiles: [sonar-scanner] Upgrade nodejs from node14 to node16

https://gerrit.wikimedia.org/r/965502

Change 965523 had a related patch set uploaded (by Pwangai; author: Pwangai):

[integration/config@master] jjb: Update sonar-scanner uses to images with node16 not node14

https://gerrit.wikimedia.org/r/965523

Change 965523 merged by jenkins-bot:

[integration/config@master] jjb: Update sonar-scanner uses to images with node16 not node14

https://gerrit.wikimedia.org/r/965523

Should this image inherit from our standard node16 image so that it gets "automatically" updated when we migrate node version?

Sonar can use any node version as long as its not a deprecated version. Inherit from our standard node16 image seems like the most optimal way to go :)