Continuous integration/Tutorials/Adding your extension to the shared gate job
The shared gate job or the gate is a continuous integration job named wmf-quibble-*
. It consists of MediaWiki core, some extensions, and some skins that run all of each other's tests. Without being in the gate, an extension/skin named Example will typically only run its own tests and MediaWiki core's tests. And no other extensions/skins will run Example's tests.
The goal is to test extension compatibility with core and extensions/skins, and prevent breaking changes in core affecting widely used extensions/skins.
The shared gate job takes around 16 minutes as of July 2023.
Adding extensions to the gate
[edit]If you would like to submit a patch to add an extension/skin to the gate, see this example. Zuul will also have to be reloaded by whoever merges the patch, then a test patch should be submitted to Example to confirm that all tests are passing. If tests are failing, the patch adding Example to the gate should be reverted until this is corrected, since a failing gate test will block merging for dozens of repos.
List of gated extensions
[edit]See also
[edit]- https://lists.wikimedia.org/pipermail/wikitech-l/2015-January/080098.html
- https://phabricator.wikimedia.org/T86930#980523
- Requests_for_comment/Extensions_continuous_integration
- https://phabricator.wikimedia.org/T333534#9029791
- https://gerrit.wikimedia.org/r/c/integration/config/+/939291 - example patch adding an extension to the gate