You are browsing a read-only backup copy of Wikitech. The primary site can be found at wikitech.wikimedia.org

Toolsadmin.wikimedia.org: Difference between revisions

From Wikitech-static
Jump to navigation Jump to search
imported>BryanDavis
(Add some deployment details)
imported>BryanDavis
Line 4: Line 4:
== Features ==
== Features ==
* Associate Wikitech LDAP account, Wikimedia SUL account, and Phabricator account.
* Associate Wikitech LDAP account, Wikimedia SUL account, and Phabricator account.
* Create Git repositories in Differential associated with a tool.
* Create Git repositories in [[:mw:Phabricator/Differential|Differential]] associated with a tool.


== Service ==
== Service ==
Line 19: Line 19:


== See also ==
== See also ==
* [[/FAQ|Frequently (un)asked questions]]
* [[/Deployments|Deployment log]]
* [[Meta:Community Tech/Tool Labs support/Tool Labs vision|Tool Labs vision]]
* [[Meta:Community Tech/Tool Labs support/Tool Labs vision|Tool Labs vision]]
* [[Phab:T136256]]
* [[Phab:T136256]]

Revision as of 22:57, 29 August 2016

The Forge (Goya)
The Forge by Goya shows a striker and another apprentice assisting a blacksmith

toolsadmin.wikimedia.org is where maintainers of Tool Labs tools can manage their tools. The software that runs this interface is codenamed Striker.

Features

  • Associate Wikitech LDAP account, Wikimedia SUL account, and Phabricator account.
  • Create Git repositories in Differential associated with a tool.

Service

Striker is an Django application for managing Tool Labs tools. A blacksmith's striker is an assistant to a blacksmith whose job is to swing a heavy hammer at the direction of the blacksmith. Similarly, Striker performs various tasks at the direction of a tool maintainer.

Production deployment

Toolsadmin.wikimedia.org is provisioned via the role::striker::web Puppet class on californium. This class sets up memcached, an Apache vhost, and a uwsgi service. The striker application code is deployed into the uwsgi service by scap3 from tin. The application is configured by the /etc/striker/striker.ini file that is provisioned by Puppet and populated with data from hiera. The application's local database is hosted on the m5 shard. The application also connects to the LDAP server for authn/authz and data lookup, Phabricator's public API, and metawiki for OAuth authentication.

Testing deployment

striker.wmflabs.org in the Striker Labs project hosts a testing deployment that is used for beta testing. A local puppet master and scap3 deployment server allow testing in a production like environment.

Local development

A role::striker class is available in MediaWiki-Vagrant for local development and testing. The role provisions Striker, an Apache vhost with mod_uwsgi, a local database, a Phabricator instance, an LDAP wiki, and an OAuth wiki.

See also

External link