Continuous integration/Task management

Server requirements

 * Chad, Timo
 * Packages needed are now listed here: Continuous integration/Overhaul
 * Packages needed are now listed here: Continuous integration/Overhaul

Getting server

 * Chad
 * Get a server, and puppetize everything.
 * Server has been assigned (gallium in eqiad), networking setup. Waiting on initial OS install from RobH.
 * Need to talk with Ops about how to puppetize the Server requirements
 * Need to talk with Ops about how to puppetize the Server requirements

Publish

 * Chad, Timo
 * Install on the physical server and make available on http://swarm.testing.mediawiki.org and http://jenkins.testing.mediawiki.org
 * On hold, needs server to be ready and the software to be ready. See sections below.
 * On hold, needs server to be ready and the software to be ready. See sections below.

CruiseControl alternative

 * Chad
 * Research alternatives
 * We're going to go with Jenkins (formerly Hudson). For well-supported FLOSS CI systems that support PHP builds, the only two options are really CruiseControl and Jenkins. We've used CC for awhile now, and while it works, it lacks some of the features Jenkins provides us. Jenkins also has a larger community, a plethora of plugins to choose from, and abilities to tie into CR tools like Gerrit and deployment processes via SSH (automated fenari deployments after merge to wmf branch??). It also supports LDAP, so we can tie it in with SVN and the VM cluster.
 * We're going to go with Jenkins (formerly Hudson). For well-supported FLOSS CI systems that support PHP builds, the only two options are really CruiseControl and Jenkins. We've used CC for awhile now, and while it works, it lacks some of the features Jenkins provides us. Jenkins also has a larger community, a plethora of plugins to choose from, and abilities to tie into CR tools like Gerrit and deployment processes via SSH (automated fenari deployments after merge to wmf branch??). It also supports LDAP, so we can tie it in with SVN and the VM cluster.

MediaWiki development
Certain changes, improvements or new features have to be added to MediaWiki to support all this.

JavaScript unit testing

 * Timo
 * Issue tracker: bug 30339
 * Implement a new SpecialPage in core . By default the SpecialPage is disabled on a default install (since tests could be destructive (like making edits, watching things, make log actions). It can run one of several frameworks, for now just focus on QUnit . The run page loads QUnit + all test suites. Registry should be accessible by extensions as well.
 * First shot is almost complete. Moving into core and attaching to bug as patch for review. Krinkle 12:51, 13 August 2011 (UTC)
 * First shot is almost complete. Moving into core and attaching to bug as patch for review. Krinkle 12:51, 13 August 2011 (UTC)

TestSwarm development
A number of improvements and bug fixes have to be made to the TestSwarm software in order to scale for our installation. As well as certain special needs for clean up (since we're not unit testing a static html file anymore but dynamic php).

Part of the plans that the jQuery Testing Team is making include work to be done on TestSwarm. Progress can be following on their wiki: http://jquerytesting.pbworks.com/

Timo is also a member of this team as of last July 2011.

User Agents

 * Timo
 * The database table for user agents, the maintainability of it and the way it influences future and past jobs isn't ideal. This should be rewritten and the jQuery Unit Testing team is also looking for a new system for this. This is an opportunity to collaborate.
 * The database table for user agents, the maintainability of it and the way it influences future and past jobs isn't ideal. This should be rewritten and the jQuery Unit Testing team is also looking for a new system for this. This is an opportunity to collaborate.

Caching

 * Timo
 * Several parts of TestSwarm don't scale very well and become either slow or are disabled by force. Implementation details of a querycache-table (or another solution) is being discussed.
 * Several parts of TestSwarm don't scale very well and become either slow or are disabled by force. Implementation details of a querycache-table (or another solution) is being discussed.

TestSwarm installation/configuration

 * 1) Find bugs, report bugs, fix bugs, patch upstream, pull request, (repeat).

Set up a vanilla install

 * 13:03, 13 August 2011 (UTC)
 * Timo
 * ''A basic unpatched install should be maintained during development. One that is just periodically updated from the remote HEAD of TestSwarm's git repository. A separate install is also on the server that runs our fork, which hopefully will be the same (just a little ahead awaiting their code review and processing of patches)
 * Fresh install here: http://ci2.tesla.usability.wikimedia.org/testswarm/

Automated MediaWiki checkout/installation

 * Timo, Chad
 * We need to come up with a solid plan as to how we're going to do this. On every commit the script should check out MediaWiki, "install" it (LocalSettings, Database, etc.), and then submit jobs to the TestSwarm containing runs for all modules in all the supported skins. Aside from that we should think well about security (since the install needs to be somewhat public), and garbage collection (delete old installs (mw-checkout and database), but not the test results!).
 * We need to come up with a solid plan as to how we're going to do this. On every commit the script should check out MediaWiki, "install" it (LocalSettings, Database, etc.), and then submit jobs to the TestSwarm containing runs for all modules in all the supported skins. Aside from that we should think well about security (since the install needs to be somewhat public), and garbage collection (delete old installs (mw-checkout and database), but not the test results!).