Page MenuHomePhabricator

Add MediaWiki extensions to zuul/layout.yaml in so Jenkins can run builds
Closed, ResolvedPublic

Description

It was noticed that Jenkins was silent on some patches for extensions in https://phabricator.wikimedia.org/T175794 when those patches were submitted into Gerrit.

To keep things clean and make Jenkins track all extensions, run builds and tests for them, it would be good to include missing extensions in the file zuul/layout.yaml in the [integration/config/](https://phabricator.wikimedia.org/source/integration-config/) Git repository.
You are expected to provide a patch in Wikimedia Gerrit. See https://www.mediawiki.org/wiki/Gerrit/Tutorial for how to set up Git and Gerrit.

https://gerrit.wikimedia.org/r/#/c/373408/ is an example change on SendGrid extension on a similar thing that needs to be done. When working on a patch, make sure the location of where the extension is added should be in alphabetical order as to make it easy and clear. :)

You must make sure that the repository passes "composer test" and "npm test" commands (documentation).

Additional thoughts: Was wondering if [inactive] and [archived] extensions can be removed from zuul/layout.yaml? It would be similar to this ticket but instead of adding, we would be removing. I can create another ticket with a list of archived and inactive extensions too.

NOTE: [ARCHIVED] and [INACTIVE] projects not included in this list as they are no longer maintained.

GCI criteria for approval: Submit a Patch Set (PS) with the addition of only 2 extension CI test into Zuul.

TODO:

Event Timeline

xSavitar renamed this task from Add MediaWiki extensions to zuul/layout.yaml in Jenkins to Add MediaWiki extensions to zuul/layout.yaml in so Jenkins can run builds.Dec 24 2017, 11:55 PM

I've iterated over mediawiki/extensions/* for all extensions not found in zuul/layout.yaml. Above is the list and will mentor this along other interested mentors for Google-Code-in-2017.

https://gerrit.wikimedia.org/r/#/c/394578/ will handle many of the BlueSpice extensions

Okay! @Umherirrender, can you help mark all the BlueSpice extensions that have been handled in the patch? Maybe remove them from the list?

In T183674#3861836, @D3r1ck01 wrote:

https://gerrit.wikimedia.org/r/#/c/394578/ will handle many of the BlueSpice extensions

Okay! @Umherirrender, can you help mark all the BlueSpice extensions that have been handled in the patch? Maybe remove them from the list?

I have added checkboxes and marked as strike

Okay @Umherirrender, thanks very much! Wondering if this task will go again for GCI :D

extensions/Collection/OfflineContentGenerator/epub_renderer - not in zuul
extensions/Collection/OfflineContentGenerator/node_modules - not in zuul

Likely not worth the efforts as OCG has been superseded by Electron/Proton in the software stack

extensions/GitGadgets - not in zuul
extensions/Recoin - not in zuul
extensions/Wigo3 - not in zuul

I cannot find any info page on mediawiki.org about these extensions...

https://codein.withgoogle.com/tasks/4945422273478656/ :

  • mediawiki/extensions/PreferencesList
  • mediawiki/extensions/PreferencesMaster

https://codein.withgoogle.com/dashboard/4677761790640128/ :

  • mediawiki/extensions/DonationInterface/vendor
  • mediawiki/extensions/Form

Feel free to copy & paste those tasks on the GCI website (adjust the list of repositories!) to create more tasks on the GCI website if you think that it makes sense for further extensions! Thanks.

I just claimed a task on GCI (PreferencesList and PreferencesMaster). I decided to check that extensions code and noticed that both repos are empty. Do we still need to add those extensions to zuul in such case?

Change 400712 had a related patch set uploaded (by Phantom42; owner: Phantom42):
[integration/config@master] Add Form extension to zuul/layout.yaml

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

Change 400714 had a related patch set uploaded (by Phantom42; owner: Phantom42):
[integration/config@master] Add BlueSpiceAbout extension to zuul/layout.yaml

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

Change 400714 merged by jenkins-bot:
[integration/config@master] Add BlueSpiceAbout extension to zuul/layout.yaml

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

Change 400712 merged by jenkins-bot:
[integration/config@master] Add Form extension to zuul/layout.yaml

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

extensions/Collection/OfflineContentGenerator/epub_renderer - not in zuul
extensions/Collection/OfflineContentGenerator/node_modules - not in zuul

Likely not worth the efforts as OCG has been superseded by Electron/Proton in the software stack

extensions/GitGadgets - not in zuul
extensions/Recoin - not in zuul
extensions/Wigo3 - not in zuul

I cannot find any info page on mediawiki.org about these extensions...

@Aklapper, I've updated the ticket to take care of this repos. Thanks.

Change 401627 had a related patch set uploaded (by Divadsn; owner: Divadsn):
[integration/config@master] Add BlueSpicePageAccess extension to zuul/layout.yaml

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

Change 401628 had a related patch set uploaded (by Divadsn; owner: Divadsn):
[integration/config@master] Add BlueSpiceNamespaceCSS extension to zuul/layout.yaml

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

Change 401627 merged by jenkins-bot:
[integration/config@master] Add BlueSpicePageAccess extension to zuul/layout.yaml

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

Change 401628 merged by jenkins-bot:
[integration/config@master] Add BlueSpiceNamespaceCSS extension to zuul/layout.yaml

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

Change 406524 had a related patch set uploaded (by Zoranzoki21; owner: Zoranzoki21):
[integration/config@master] Add MediaWiki extensions to zuul/layout.yaml in so Jenkins can run builds

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

This comment was removed by Kizule.

Change 406524 abandoned by Zoranzoki21:
Add few extensions in zuul/layout.yaml to Jenkins can run builds and remove mediawiki/extensions/Collection/OfflineContentGenerator/node_modules

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

hashar claimed this task.

The original request has been mostly fullfilled. There are extensions repositories being created constantly and they have the CI configuration being added eventually.

There is a job that tracks repositories being active in Gerrit that lacks a configuration in zuul/layout.yaml https://integration.wikimedia.org/ci/job/integration-config-qa/lastCompletedBuild/testReport/