Page MenuHomePhabricator

Reuse mediawiki-docker's apache Dockerfile in Wikibase release pipeline
Closed, ResolvedPublic3 Estimated Story Points

Description

Decision was made in T282485 to reuse the mediawiki-docker images.
Now we need to implement that decision

https://github.com/wmde/wikibase-release-pipeline/blob/4ce644bb6c02b86fc984510eb2e00caa21454bf9/docs/adr/0017-using-mediawiki-docker-image.md

As noted in the ADR:
As the priority of the release pipeline should be to provide stable and secure releases it could make sense to revert this initial decision of building our own image.

Draft PR https://github.com/wmde/wikibase-release-pipeline/pull/187

Acceptance Criteria🏕️🌟 :

  • The base of the wikibase Dockerfiles is now the upstream mediawiki docker image
  • Redundant steps have been removed from our wikibase Dockerfiles

Event Timeline

Addshore triaged this task as Medium priority.Jul 14 2021, 10:06 AM
Addshore set the point value for this task to 3.

The PR -> https://github.com/wmde/wikibase-release-pipeline/pull/187

To try building it locally, you can download the patch and build everything

./build.sh all versions/wmde1.env

To run some simple tests and bring up the environment you can

make test SUITE=repo

which will start mediawiki on http://localhost:8181

To run all tests (will start and stop the containers so not really useful for manual poking around)

make test-all