Page MenuHomePhabricator

Port cronjobs from trusty to stretch
Closed, ResolvedPublic

Description

See https://wikitech.wikimedia.org/wiki/News/Toolforge_Trusty_deprecation

Jobs to migrate:

  • stewardbot
  • sulwatcher
  • electionbot

Jobs migrated:

  • webservice (using k8s)

Event Timeline

An attempt to move the three remaining jobs to stretch was performed today, but I had to revert it later due to some venv issues.

I've created a virtualenv with:
*pip install irc
*git clone https://github.com/sixohsix/python-irclib.git (http://python-irclib.sourceforge.net/)
*pip install MySQL-python (https://pypi.org/project/MySQL-python/)
Now bots are running (via "source venv/bin/activate"+restart script) in the virtualenv but we need to update crontab (or bash scripts) to start using it

Note that you should issue those jobs and crontab via login-stretch.tools.wmflabs.org :)

MarcoAurelio claimed this task.

I think this one is already done long time ago.