This is an investigation that should be timeboxed before being picked up. It should be picked up before the next MediaWiki update (1.44 or 1.47)
It is a follow on investigation from T400609. This investigation assumes that we will create a kubernetes job to run install.php
This task is to make a small proof of concept that:
- triggers the creation of a k8s job from the platform api that runs install.php
- the platform API should create a new database, a new user and a password for it that should be passed to this job
- this should result in a provisioned DB that could then be assigned to a Wiki once it is created
You will probably need to think carefully about the LocalSettings.php configuration this job has.
You should also confirm once this POC is created that the job doesn't regularly fail and the DB schema created is the same each time.
See this earlier POC using a standalone job: https://github.com/wmde/wbaas-deploy/pull/2296
A/C:
- create a POC
- confirm the job doesn't regularly fail
- confirm the DB schema doesn't vary