Last modified: 2012-10-19 15:44:59 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 T39050, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37050 - Create Jenkins job(s) for Wikidata extensions
Create Jenkins job(s) for Wikidata extensions
Status: RESOLVED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Low enhancement (vote)
: ---
Assigned To: Antoine "hashar" Musso (WMF)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-23 10:38 UTC by Daniel Kinzler
Modified: 2012-10-19 15:44 UTC (History)
8 users (show)

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


Attachments
output of first Wikidata/Wikibase build on Jenkins (31.44 KB, text/plain)
2012-07-09 08:28 UTC, Antoine "hashar" Musso (WMF)
Details

Description Daniel Kinzler 2012-05-23 10:38:45 UTC
Please make jenkins run tests against changes to the following repositories: 

mediawiki/extensions/WikibaseLib
mediawiki/extensions/WikidataClient
mediawiki/extensions/WikidataRepo

How do tests for extensions work anyway? The extensions would need to be configured into LocalSettings.php, so their own test cases get hooked and executed...
Comment 1 Chad H. 2012-06-01 20:18:57 UTC
Moving to testing bugs, not a git/gerrit bug.
Comment 2 Daniel Kinzler 2012-06-21 11:03:32 UTC
Update, because we merged the Wikibase extensions into one repo:

* The core/Wikidata branch (for now - will be merged into master soon)
* The extensions/Wikibase/master (3 extensions in one repository)

The extensions to set up are:

require_once( "$IP/extensions/Wikibase/lib/WikibaseLib.php");
require_once( "$IP/extensions/Wikibase/repo/Wikibase.php");
require_once( "$IP/extensions/Wikibase/client/WikibaseClient.php");
Comment 3 Antoine "hashar" Musso (WMF) 2012-07-03 20:01:07 UTC
I did several changes to the jenkins shared build file that will help creating that job. Will hopefully manage to finish that this week.
Comment 4 Antoine "hashar" Musso (WMF) 2012-07-06 16:21:45 UTC
I got an experimental install on Jenkins installation. Currently silenced to prevent false alarms to be sent back to Gerrit.  Need to fix some dependencies in the ant script, currently delete the database and leave LocalSettings.php behind which prevent the PHPUnit test group to install a fresh DB.
Comment 5 Antoine "hashar" Musso (WMF) 2012-07-06 16:26:12 UTC
The initial Jenkins job configuration was submitted with https://gerrit.wikimedia.org/r/14500.
Comment 6 Antoine "hashar" Musso (WMF) 2012-07-09 08:27:38 UTC
With some additional tweaks, in both core and Wikidata branch, and to the Jenkins build script: we now have a first complete build.

The non-permanent console log is at https://integration.mediawiki.org/ci/job/Ext-Wikibase/356/console. I have attaching it for later reference.
Comment 7 Antoine "hashar" Musso (WMF) 2012-07-09 08:28:52 UTC
Created attachment 10833 [details]
output of first Wikidata/Wikibase build on Jenkins
Comment 8 Antoine "hashar" Musso (WMF) 2012-08-10 20:11:43 UTC
The jobs are being run on https://integration.mediawiki.org/ci/job/Ext-Wikibase/ though there is no comment added in Gerrit yet.
Comment 9 Rob Lanphier 2012-09-24 20:29:04 UTC
Lowering priority.  We should also consider closing this one, since the original task is done, and this is being used to track the followup task of making sure the tests succeed based on changes needed by the Wikidata team.
Comment 10 Daniel Kinzler 2012-10-09 10:05:22 UTC
The Wikidata branch has just been merged into master. Please get rid of any specialized setup for that branch and use master instead.
Comment 11 Antoine "hashar" Musso (WMF) 2012-10-19 15:44:59 UTC
The job is at  https://integration.mediawiki.org/ci/job/Ext-Wikibase/ . Other the last few weeks I have:

- switched it to use the MediaWiki master branch https://gerrit.wikimedia.org/r/#/c/27398/ - bug 40884
- updated the configuration https://gerrit.wikimedia.org/r/#/c/28397/

We still have to report back to Gerrit but since tests are still failing we probably dont want to report back yet.

I am closing this bug since the original request (writing a Jenkins job for Wikidata) has been completed.

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


Navigation
Links