Page MenuHomePhabricator

Set up CI system on AQS
Closed, ResolvedPublic

Event Timeline

fdans triaged this task as Medium priority.Nov 19 2018, 5:18 PM
fdans moved this task from Incoming to Smart Tools for Better Data on the Analytics board.

Change 476528 had a related patch set uploaded (by Fdans; owner: Fdans):
[analytics/aqs@master] Refactor test runner and fix tests stalling

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

Helloo @hashar do you think you can hook aqs to Jenkins for CI? We just need to run npm test.

Change 476811 had a related patch set uploaded (by Hashar; owner: Hashar):
[integration/config@master] analytics/aqs: add npm test with NodeJS 6

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

Change 476811 merged by jenkins-bot:
[integration/config@master] analytics/aqs: add npm test with NodeJS 6

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

Done with npm test being run under NodeJS 6 :)

@hashar quick question - we are about to migrate AQS to NodeJS 10, will it be easy to migrate npm test to it when needed?

@hashar quick question - we are about to migrate AQS to NodeJS 10, will it be easy to migrate npm test to it when needed?

The CI containers for npm/nodejs use Stretch, they get the package based on the apt configuration in the base container docker-registry.wikimedia.org/stretch:

/etc/apt/sources.list.d/wikimedia.list
deb http://apt.wikimedia.org/wikimedia stretch-wikimedia main backports thirdparty

And thus:

apt-cache policy nodejs
nodejs:
  Installed: 6.11.0~dfsg-1+wmf1
  Candidate: 6.11.0~dfsg-1+wmf3
  Version table:
     8.11.1~dfsg-2~bpo9+1 100
        100 http://mirrors.wikimedia.org/debian stretch-backports/main amd64 Packages
     6.11.0~dfsg-1+wmf3 500
        500 http://apt.wikimedia.org/wikimedia stretch-wikimedia/main amd64 Packages
 *** 6.11.0~dfsg-1+wmf1 100
        100 /var/lib/dpkg/status
     4.8.2~dfsg-1 500
        500 http://mirrors.wikimedia.org/debian stretch/main amd64 Packages

We will need NodeJS 10 under a different apt repo component then craft containers that select it.

I am not aware of any effort to switch Wikimedia to NodeJS 10, if there is any lead on that, please do reach to releng so we can participate and update the CI stack!

@hashar We have a component in Stretch for this (component/node10), and @MoritzMuehlenhoff is currently leading an effort to migrate to Nodejs 10 in https://phabricator.wikimedia.org/T210704 :)

Change 476528 merged by Fdans:
[analytics/aqs@master] Refactor test runner and fix tests stalling

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