Jump to content

Tool:Etherpad-backup

From Wikitech
Toolforge tools
Author(s) BryanDavis, Tkarcher
Maintainer(s) BryanDavis, Tkarcher (View all)
Source code gitlab
License GNU General Public License 3.0 or later
Issues Open tasks · Report a bug
Admin log Tools.etherpad-backup/SAL

Wikimedia Etherpad Backup is a web app for preserving historical copies of https://etherpad.wikimedia.org content. The app provides an interface to create, read, and update data stored in S3-compatible object storage.

Audit log

Deployment

Rebuilding the image

Until we have an ability to configure automatic container builds for web services, someone needs to ssh into a Toolforge bastion and kick off a new build when gitlab:toolforge-repos/etherpad-backup contains new code for release.

$ ssh dev.toolforge.org
$ become etherpad-backup
$ toolforge build start https://gitlab.wikimedia.org/toolforge-repos/etherpad-backup

Configuration

The tool uses twelve-factor app style config via environment variables. In Toolforge this configuration is managed with the toolforge envvars command.

tools.etherpad-backup@tools-bastion-14:~$ toolforge envvars list
name                       value
AWS_ACCESS_KEY_ID          ****************
AWS_SECRET_ACCESS_KEY      ****************
FLASK_RUN_PORT             ****************
FLASK_SECRET_KEY           ****************
MEDIAWIKI_ACCESS_SECRET    ****************
MEDIAWIKI_ACCESS_TOKEN     ****************
MEDIAWIKI_CONSUMER_SECRET  ****************
MEDIAWIKI_CONSUMER_TOKEN   ****************
OAUTH_CLIENT_ID            ****************
OAUTH_CLIENT_SECRET        ****************
TOOL_REPLICA_PASSWORD      ****************
TOOL_REPLICA_USER          ****************
TOOL_TOOLSDB_PASSWORD      ****************
TOOL_TOOLSDB_USER          ****************

See also:

See also