Page MenuHomePhabricator

Build base image for math extension pipeline tests
Closed, DeclinedPublic

Description

Build base image using docker-pkg in integration/config directory.

Event Timeline

thcipriani triaged this task as Medium priority.Jun 11 2018, 7:29 PM
thcipriani created this task.

A summary of our chat yesterday:

You can look at the releng/quibble-stretch container for some inspiration.

  • you would need composer to install the mediawiki/core dependencies. Probably using the composer.lock that comes from mediawiki/vendor . Can probably be copied from docker-registry.wikimedia.org/releng/composer
  • there is a list of php extensions provided by Debian packages. In Quibble that covers all extensions that got migrated, but for Math you probably need less. I think you would need at least:

php-cli
php-curl
php-intl
php-mbstring
php-mysql
php-xml
php-zip

Maybe php-gd and imagemagick as well.

  • Tidy is gone in master branch, it has been replaced by RemexHTML
  • Apache might not be too complicated to integrate (ENTRYPOINT apache2 -D FOREGROUND), but probably you want to first prototype with php -S for sake of simplicity. quibble/backend.py has the few lines of logic to make it happen.
  • MySQL should be in another container. quibble-stretch/mariadb.cnf has some configuration, notably:

I am not worried about the crafting the container :] Orchestrating them and getting them to get to know each other is a dark area to me but that is the Kubernetes promise as you said!

Vvjjkkii renamed this task from Build base image for math extension pipeline tests to s8aaaaaaaa.Jul 1 2018, 1:04 AM
Vvjjkkii removed thcipriani as the assignee of this task.
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 s8aaaaaaaa to Build base image for math extension pipeline tests.Jul 1 2018, 6:45 PM
thcipriani claimed this task.
thcipriani updated the task description. (Show Details)
CommunityTechBot lowered the priority of this task from High to Medium.Jul 5 2018, 7:01 PM

Declining this for now, will revisit in future quarters