Page MenuHomePhabricator

Add CI jobs for mediawiki/libs/metrics-platform
Closed, ResolvedPublic

Description

The mediawiki/libs/metrics-platform repo is a centralized repository for the Metrics Platform client libraries. It will contain four libraries implementing the Metrics Platform client library specification, one each in JavaScript, PHP, Java, and Swift. The planned repository structure is:

java/
js/
php/
swift/
LICENSE
CODE_OF_CONDUCT
...

A patch adding the PHP library according to this planned structure is in review here. We'll need the standard PHP, JS, and Java jobs to run for the projects in their respective subdirectories, and we'll need to figure something out for Swift.

Open questions
  • Can the existing CI jobs handle this repo structure, or will modifications be needed?
  • Can Wikimedia CI support iOS library testing, which may require proprietary Apple SDKs? (TODO: Investigate if https://github.com/apple/swift-corelibs-xctest will meet our needs.)

Event Timeline

Can the existing CI jobs handle this repo structure, or will modifications be needed?

Yes, we're doing this in the function-schemata repo, where we have both javascript and python test suites for the same schemata, and use the pipeline and blubber to set up different test image runs for different languages.

Can Wikimedia CI support iOS library testing, which may require proprietary Apple SDKs? (TODO: Investigate if https://github.com/apple/swift-corelibs-xctest will meet our needs.)

No. No proprietary code in CI, sorry.

Mholloway moved this task from To Do to Doing on the Better Use Of Data board.
Mholloway moved this task from Next to Doing on the Product-Data-Infrastructure board.

Change 679968 had a related patch set uploaded (by Mholloway; author: Michael Holloway):

[integration/config@master] Add pipeline-based jobs for mediawiki/libs/metrics-platform

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

Change 683356 had a related patch set uploaded (by Jforrester; author: Jforrester):

[integration/config@master] Zuul: [mediawiki/libs/metrics-platform] Add pipeline-based CI jobs

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

Change 679968 merged by jenkins-bot:

[integration/config@master] jjb: Add pipeline-based jobs for mediawiki/libs/metrics-platform

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

Change 683356 merged by jenkins-bot:

[integration/config@master] Zuul: [mediawiki/libs/metrics-platform] Add pipeline-based CI jobs

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

Mentioned in SAL (#wikimedia-releng) [2021-04-28T15:27:36Z] <James_F> Zuul: [mediawiki/libs/metrics-platform] Add pipeline-based CI jobs T279180