Automated deployment of MediaWiki: Difference between revisions

lots of updates to the MediaWiki Docker section, and more
m fix name
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
As a contributor to [https://github.com/enterprisemediawiki/meza Meza], and developer of [[QualityBox]], we've been closely following the efforts in the [[MediaWiki]] community around easier/automated deployments of MediaWiki. Actually, it's a goal of the [https://mwstake.org MWStakeholders Group]. And, it's a crucial aspect of the whole [https://www.mediawiki.org/wiki/Wikimedia_Technology/Goals/2017-18_Q3 2017 Wikimedia Technology Department Goals] since at least 2018. Here is a list of some of the efforts and projects within and outside the WMF for automating deployments of MediaWiki:
As a contributor to [[Meza]], and developer of [[QualityBox]], we've been closely following the efforts in the [[MediaWiki]] community around easier/automated deployments of MediaWiki. Actually, it's a goal of the [https://mwstake.org MWStakeholders Group]. And, it's a crucial aspect of the whole [https://www.mediawiki.org/wiki/Wikimedia_Technology/Goals/2017-18_Q3 2017 Wikimedia Technology Department Goals] since at least 2018. Here is a list of some of the efforts and projects within and outside the WMF for automating deployments of MediaWiki:


*Our own efforts: [[MediaWiki on Kubernetes]]
*Our own efforts: [[MediaWiki on Kubernetes]]
Line 17: Line 17:
===MediaWiki with Kubernetes===
===MediaWiki with Kubernetes===


*https://gerrit.wikimedia.org/r/plugins/gitiles/releng/local-charts/ Gerrit repo for using [[Minikube]] and '''Helm''' charts to define MediaWiki local development environments: Alpha (2020/08)
*https://gerrit.wikimedia.org/r/plugins/gitiles/releng/local-charts/ Gerrit repo for using [[Minikube]] and '''Helm''' charts to define MediaWiki local development environments. '''This was just an experiment?'''
 
See https://wikitech.wikimedia.org/wiki/MediaWiki_On_Kubernetes in Wikitech
 
The production code/repo for WMF's MediaWiki on Kubernetes is in the '''operations''' [https://gerrit.wikimedia.org/g/operations/deployment-charts Deployment Charts] repo.  Mirror on GitHub https://github.com/wikimedia/operations-deployment-charts
 
One relevant project is the '''[https://phabricator.wikimedia.org/project/profile/2290/ Prod Kubernetes]''' Component and '''[https://phabricator.wikimedia.org/project/view/2290/ Prod Kubernetes]''' workboard in Phabricator. These are organized under the [https://phabricator.wikimedia.org/tag/sre/ SRE] team. [[wp:Wikimedia Site Reliability Engineering|Wikimedia Site Reliability Engineering]]


===MediaWiki on Docker===
===MediaWiki on Docker===
Line 53: Line 59:
==Config Settings==
==Config Settings==
With any automation tooling and deployment, you will inevitably need to refer to the long list of [https://www.mediawiki.org/wiki/Manual:Configuration_settings MediaWiki Configuration settings].
With any automation tooling and deployment, you will inevitably need to refer to the long list of [https://www.mediawiki.org/wiki/Manual:Configuration_settings MediaWiki Configuration settings].
== OpenStreetMap Project ==
The [[OpenStreetmap|OpenStreetMap]] project's [https://operations.osmfoundation.org/ OSMF Operations Working Group] uses [[Chef]] in their deployments. Their cookbooks are in this repo https://github.com/openstreetmap/chef while the issuetracker is in the [https://github.com/openstreetmap/operations operations repo]. Similar to [[Meza]] (which uses [[Ansible]] instead of Chef for automation), we can see that they use [https://github.com/openstreetmap/chef/tree/master/cookbooks many cookbooks] (roles and/or playbooks in Ansible) to fulfill the requirements for all the aspects of Development and Operations ([[:Category:DevOps]]) from backup to blogs to DNS and mail.
{{References}}


[[Category:DevOps]]
[[Category:DevOps]]
Line 61: Line 76:
[[Category:Kubernetes]]
[[Category:Kubernetes]]
[[Category:Virtualization]]
[[Category:Virtualization]]
[[Category:MediaWiki]]