Page MenuHomePhabricator

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

Description

  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

https://gerrit.wikimedia.org/r/585719

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

https://gerrit.wikimedia.org/r/585719

Samantha_Alipio_WMDE closed this task as Resolved.May 4 2020, 2:10 PM