The idea of this task is to rename the Quibble jobs to make more sense.
As a general rule, the idea is to have the job to contain:
- the kind of tests it runs
- what is being tested? (optional)
- environment flavour
Kind of tests
"tox", "npm-test", "phpunit", "phan", "selenium", "qunit" etc.
What is being tested (optional)-
What | Description |
---|---|
only self | |
with dependencies | |
with gated dependencies | |
only gated dependencies | |
Environment flavour
Whatever tags we feel like adding that seem useful for developers to know.
- PHP version/ DB type for MW stuff
- maybe OS version for debian-related jobs,
Examples
The mediawiki/core change https://gerrit.wikimedia.org/r/#/c/mediawiki/core/+/584028/ triggered jobs and what the new names might look like:
Before | After |
---|---|
mediawiki-quibble-vendor-mysql-php72-docker | phpunit+qunit (only self) [vendor, mysql, php72] |
mediawiki-quibble-composer-mysql-php72-docker | phpunit+qunit (only self) [composer, mysql php72] -- gate only |
mediawiki-quibble-vendor-mysql-php73-docker | phpunit+qunit (only self) [vendor, mysql, php73] -- gate only |
mediawiki-quibble-vendor-mysql-php74-docker | phpunit+qunit (only self) [vendor, mysql, php74] -- gate only |
mediawiki-quibble-vendor-sqlite-php72-docker | phpunit+qunit (only self) [vendor, sqlite, php72] -- gate only |
mediawiki-quibble-vendor-postgres-php72-docker | phpunit+qunit (only self) [vendor, postgres, php72] -- gate only |
wmf-quibble-core-vendor-mysql-php72-docker | phpunit+qunit (only gated extensions) [vendor, mysql, php72] |
mediawiki-quibble-selenium-vendor-docker | selenium (only self) |
wmf-quibble-selenium-php72-docker | selenium (with gated extensions) |
mediawiki-quibble-composertest-php72-docker | composer-test (only self) [php72] |
mwgate-node10-docker | npm-test (only self) [node10] |
mediawiki-quibble-apitests-vendor-docker | apitests (only self) [vendor, mysql, php72] |
mediawiki-core-php72-phan-docker | phan (only self) |
Example VisalEditor change https://gerrit.wikimedia.org/r/c/mediawiki/extensions/VisualEditor/+/596027
Before | After |
---|---|
quibble-vendor-mysql-php72-docker | composer-test+phpunit+qunit+selenium (with dependencies) [vendor, mysql, php72] |
quibble-vendor-mysql-php73-docker | composer-test+phpunit+qunit+selenium (with dependencies) [vendor, mysql, php73] -- gate only |
quibble-vendor-mysql-php74-docker | composer-test+phpunit+qunit+selenium (with dependencies) [vendor, mysql, php74] -- gate only |
mwgate-node10-docker | npm-test (only self) [node10] |
mwext-php72-phan-docker | phan (with dependencies) |
mwext-php72-phan-seccheck-docker | phan-seccheck (with dependencies) |
wmf-quibble-vendor-mysql-php72-docker | phpunit+qunit (with gated extensions) [vendor, mysql, php72] -- gate only |
wmf-quibble-selenium-php72-docker | selenium (with gated extensions) |
mwext-node10-rundoc-docker | npm-run-doc (only self) [node10] |
Example Wikibase: https://gerrit.wikimedia.org/r/c/mediawiki/extensions/Wikibase/+/592270
Before | After |
---|---|
quibble-vendor-mysql-php72-noselenium-docker | composer-test+phpunit+qunit (with dependencies) [vendor, mysql, php72] |
quibble-vendor-mysql-php73-noselenium-docker | composer-test+phpunit+qunit (with dependencies) [vendor, mysql, php73] -- gate only |
quibble-vendor-mysql-php74-noselenium-docker | composer-test+phpunit+qunit (with dependencies) [vendor, mysql, php74] -- gate only |
mwgate-node10-docker | npm-test (only self) [node10] |
quibble-vendor-selenium-docker | selenium (with dependencies) |
mwext-php72-phan-docker | phan (with dependencies) |
mwext-php72-phan-seccheck-docker | phan-seccheck (with dependencies) |
wmf-quibble-vendor-mysql-php72-docker | phpunit+qunit (with gated extensions) [vendor, mysql, php72] -- gate only |
wmf-quibble-selenium-php72-docker | selenium with-gated-extensions |
mwext-node10-rundoc-docker | npm-run-doc (only self) [node10] |
mwselenium-quibble-docker | legacy-ruby-selenium-with-gated-extensions-but… |