
toolsadmin.wikimedia.org is where maintainers ofToolforge tools can manage their tools. The software that runs this interface is codenamedStriker.
Striker is anDjango application for managing Toolforge tools. Ablacksmith'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.
Toolsadmin.wikimedia.org is provisioned via therole::striker::web Puppet class oncloudweb1003 andcloudweb1004. This class sets up Docker and a service to run Striker as a Docker container. The application is configured by environment variables that are provisioned by Puppet and populated with data from hiera. The application's local database is hosted on them5 section. The application also connects to the LDAP server for authn/authz and data lookup, Phabricator's public API, metawiki for OAuth authentication, and OpenStack's keystone API.
https://striker.wmcloud.org in theStriker project hosts a testing deployment that is used for beta testing. This deployment is managed with docker-compose similarly to the local development environment, but uses a production ready container for the striker service itself.
The local development environment usesdocker-compose andGNU Make to manage a container hosting the project. Additional containers are provisioned to provide:
$gitclonehttps://gerrit.wikimedia.org/r/labs/striker$cdstriker$makestarttail So much stuff scrolls by... Still scrolling... Will it ever stop? It should, but be on the lookout for repeating loops Eventually (~1-3 minutes) things should stop scrolling ^c$makeinit More scrolling... This should only take a few seconds...$openhttp://striker.local.wmftest.net:8080/
open is a MacOS command to open a file, directory, or url in the default application for that media type. On a Linux host you can either manually open the URL or use a similar URL opening script likexdg-open,sensible-browser,x-www-browser, orgnome-open.Seecontrib/docker/README.md for additional manual steps needed once the initial startup is complete.
Submit patches to thelabs/striker gerrit project. Tests and linting can be done locally usingtox.