Page MenuHomePhabricator

Automate the test system for federated properties target repo
Closed, ResolvedPublic5 Estimated Story Points


  1. Update regularly, either using cron or through a web hook on every merge
  2. Set up, configure and maintain everything via ansible
    1. ansible config file to be version-controlled in a federated-properties config folder of the Wikibase git repo
    2. Everything i.e. docker container setup and mounting docker volumes, code updates from git, setting up the automated updated ("cron")

Event Timeline

Samantha_Alipio_WMDE set the point value for this task to 5.

Roughly, the steps for automation via ansible include:

  • install mediawiki and extensions from git repo
  • set up docker and start containers
  • create script and post-merge hook to update Wikibase via git pull
  • set up cron job to trigger update script

Additionally, a playbook to cleanup the server will be included.

Change 585719 had a related patch set uploaded (by Silvan Heintze; owner: Silvan Heintze):
[mediawiki/extensions/Wikibase@master] Automate test system setup for federatedProperties

By popular vote among the dev team, the "federated-properties config folder of the Wikibase git repo" was chosen to be Wikibase/build/federated-properties.

Change 585719 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] FP: Automate test system setup