Hi,
You should not be running any heavy scripts (such as bots) on the
bastions (
login.toolforge.org and
dev.toolforge.org), run them on the
job grid[0] (which has Python 3.5) or in Kubernetes[1] (Python 3.7) instead.
On 6/19/21 9:58 PM, QEDK wrote:
I don't think so, unless it's upgraded anytime
soon (not sure about
timelines)
A job grid upgrade is in progress[2], I believe it's not being actively
worked on but an upgrade is happening in the near term.
Getting a hang of k8s in toolforge takes a while but
it's easy
once you have it set up. Here's a guide on how you can do cronjobs in
k8s:
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_cr…
<https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_cronjobs>
We're hoping to provide easier tooling in the future for the most common
use cases, so in the future you hopefully don't even need to learn
Kubernetes to run bots and other tools with it. In the meanwhile,
Wikitech has examples[1] for continuous jobs and timed/cron jobs.
[0]:
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Grid
[1]:
https://wikitech.wikimedia.org/wiki/Help:Toolforge/Kubernetes#Kubernetes_cr…
[2]:
https://phabricator.wikimedia.org/T277653
Best,
Taavi (User:Majavah)