Last modified: 2013-10-30 10:16:24 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58317, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56317 - Jenkins: Use phpunit from deployment system (srv/deployment/integration/phpunit) instead of local pear install
Jenkins: Use phpunit from deployment system (srv/deployment/integration/phpun...
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
wmf-deployment
All All
: Normal normal (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks: 53594
  Show dependency treegraph
 
Reported: 2013-10-29 15:27 UTC by Antoine "hashar" Musso (WMF)
Modified: 2013-10-30 10:16 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Antoine "hashar" Musso (WMF) 2013-10-29 15:27:57 UTC
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.
Comment 1 Antoine "hashar" Musso (WMF) 2013-10-30 10:00:30 UTC
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
Comment 2 Antoine "hashar" Musso (WMF) 2013-10-30 10:09:19 UTC
Same trick for extensions https://gerrit.wikimedia.org/r/#/c/92623/
Comment 3 Antoine "hashar" Musso (WMF) 2013-10-30 10:13:23 UTC
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
Comment 4 Gerrit Notification Bot 2013-10-30 10:14:25 UTC
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
Comment 5 Gerrit Notification Bot 2013-10-30 10:15:48 UTC
Change 92624 merged by jenkins-bot:
mw coverage points to PHPUnit deployed by WMF deployment system

https://gerrit.wikimedia.org/r/92624
Comment 6 Antoine "hashar" Musso (WMF) 2013-10-30 10:16:24 UTC
Nothing left to do, that will let us roam the tests on any slaves having PHPUnit \O/

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links