kostajh added a subscriber: Zbyszko.
kostajh added a comment.

  In T278705#6987349 <https://phabricator.wikimedia.org/T278705#6987349>, 
@Michael wrote:
  
  > In T278705#6987282 <https://phabricator.wikimedia.org/T278705#6987282>, 
@kostajh wrote:
  >
  >> If I can help, let me know. We have a few non mediawiki jobs in the 
codehealth pipeline for various languages (Java, python) using a few different 
configuration set ups.
  >
  > Thank you! It shouldn't be hard (™). This project is just a pure static 
javascript frontend. It needs (as minimum) node10 and npm 6.9.x to install the 
dependencies and run the tests. We're already using the default node10-test 
docker image that is on wmf-CI. That works fine (now).
  >
  > All that is needed is to run the tests not with `npm run test` but with 
`npm run test:unit -- --coverage` and then to trigger the sonar setup. That's 
it.
  >
  > It really shouldn't be difficult, probably every other configuration would 
be more complex. But I hadn't had the peace of mind to look into so far.
  >
  > If there already exists something like that, that would be great! 
Otherwise, I think pointers to other simple job/job-template/container-setups 
for sonar on wmf-CI would also help and be appreciated :)
  
  @Zbyszko would you mind pointing @Michael to one or more of the patches you 
used for the java / python projects recently?
  
  For a deployment pipeline example (though it looks like you are not using the 
deployment pipeline), there are some patches linked to T266110: Add Link 
engineering: Codehealth integration <https://phabricator.wikimedia.org/T266110> 
and T265893: Add Link engineering: Deployment Pipeline setup 
<https://phabricator.wikimedia.org/T265893> that you could reference.

TASK DETAIL
  https://phabricator.wikimedia.org/T278705

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: kostajh
Cc: Zbyszko, kostajh, Ladsgroup, Aklapper, Michael, Invadibot, Devnull, 
maantietaja, Hazizibinmahdi, Nintendofan885, Akuckartz, Nandana, skpuneethumar, 
Zylc, 1978Gage2001, Lahi, Operator873, Gq86, Bsandipan, GoranSMilovanovic, 
DSquirrelGM, Jayprakash12345, Chicocvenancio, QZanden, Tbscho, LawExplorer, 
JJMC89, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, Jitrixis, aude, 
Gryllida, scfc, Mbch331, Krenair
_______________________________________________
Wikidata-bugs mailing list
Wikidata-bugs@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs

Reply via email to