Page MenuHomePhabricator

Jenkins: Use phpunit from deployment system (srv/deployment/integration/phpunit) instead of local pear install
Closed, ResolvedPublic

Description

We are now deploying PHPUnit using our own deployment system (bug 54762), that let us update it easily using integration/phpunit.git as a source.

Now we need our phpunit.php calls to use --with-phpunitdir option, aka:

php phpunit.php --with-phpunitdir /contint-phpunit/vendor/phpunit/phpunit

And that would use a more recent PHPUnit version, more importantly, that would let us run PHPUnit job on slaves.


Version: wmf-deployment
Severity: normal

Details

Reference
bz56317

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:17 AM
bzimport set Reference to bz56317.

MediaWiki core migrated to use the composer install by changing the shell wrapper: https://gerrit.wikimedia.org/r/#/c/92619/

Job to validate the setup (SUCCESS): https://gerrit.wikimedia.org/r/92621

Change-Id for reference is I8651f2fb0e09d4e868c2139b5a7d1b640de61784

Extension validated with mwext-Wikibase-client-tests by retriggering a build. Successful result at https://integration.wikimedia.org/ci/job/mwext-Wikibase-client-tests/3831/console

Change 92624 had a related patch set uploaded by Hashar:
mw coverage points to PHPUnit deployed by WMF deployment system

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

Change 92624 merged by jenkins-bot:
mw coverage points to PHPUnit deployed by WMF deployment system

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

Nothing left to do, that will let us roam the tests on any slaves having PHPUnit \O/