Page MenuHomePhabricator

Build Math extension container on Postmerge
Closed, DeclinedPublic

Description

During the RelEng SSD pipeline meeting today, we talked about interim solutions to the problem of building a MediaWiki + extensions container from which a service might be exercised by a broad set of tests. The long-term solutions mentioned in T193824 include an ongoing RfC and experimentation with composer. While we are participating in the ongoing RfC process, the logic for extension dependencies already exists within the integration/config repo so we could use that logic as part of post-merge to build an image.

What's still needed:

  • Container base image - we'll likely need a base image with some version of PHP and a webserver(?) there are (were) images used for CI for PHP
  • Jenkins Job that utilizes the requirements logic inside integration/config to build a directory that will power functional MediaWiki install with the Math extension
  • A Dockerfile or a blubber config that can take that directory and produce a tagged image

Event Timeline

thcipriani triaged this task as Medium priority.Jun 4 2018, 9:35 PM
thcipriani created this task.

In case you need an automated way to test if Math extension is installed, there is a test for that (since Wikimedia-Hackathon-2018)! 😉

  1. We want a base image with apache and php but not MediaWiki
  2. Rely on CI to build the MediaWiki directory
  3. mw-core, Math extension, mw-vendor (for composer.lock)
    • Not using zuul/parameter_functions.py#Dependencies
    • no dev/test dependencies "required"
  4. composer install only for mwcore (math doesn't need deps from composer)
  5. tag and push to registry (possibly run docker run --rm -it mweval var_dump($wgVersion); first)
Vvjjkkii renamed this task from Build Math extension container on Postmerge to dnbaaaaaaa.Jul 1 2018, 1:05 AM
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
thcipriani renamed this task from dnbaaaaaaa to Build Math extension container on Postmerge.Jul 1 2018, 6:43 PM
thcipriani updated the task description. (Show Details)
CommunityTechBot lowered the priority of this task from High to Medium.Jul 5 2018, 6:58 PM