Page MenuHomePhabricator

Create vagrant role for Commons
Closed, ResolvedPublic

Description

Migrated from: https://wikimedia.mingle.thoughtworks.com/projects/multimedia/cards/632

Narrative

As a developer, I can test my code with a Commons-like setup, so that I don't have to find out after deploying that it totally breaks with ForeignDb[ViaLB]Repo files.

Acceptance Criteria

  • add load-balanced (master/slave) DB support (or a credible-enough simulation of it) to MediaWiki-Vagrant (Bryan Davis can help with this part)
  • dig up Commons settings fromoperations/mediawiki-config, create a puppet class for a wiki which uses that configuration
  • add a commons role to MW-Vagrant which adds a Commons-like wiki and configures the main wiki to use it as an image backend. Use the newly-minted multi-wiki support and the somewiki.local.wmftest.net virtualhost hack.
  • (for extra points: add similar support for non-LB shared DB and for API remotes.)

Related Bugs

Related Stories

Related Changesets

Event Timeline

MingleTerminator raised the priority of this task from to High.
MingleTerminator added a project: Multimedia.
In mingle on 2014-07-17 at 17:09:48, @Gilles wrote:

https://gerrit.wikimedia.org/r/#/c/147151/

In mingle on 2014-07-23 at 16:24:08, @MarkTraceur wrote:

Blocked on either Ori or Bryan reviewing.