Skip to content

Toolforge setup and job management

License

Notifications You must be signed in to change notification settings

jjmc89-bot/jjmc89-bot-toolforge

Repository files navigation

pre-commit.ci status

JJMC89 bot, JJMC89 bot II, JJMC89 bot III, and Magic links bot run on Wikimedia projects and are hosted on Wikimedia Toolforge.

Toolforge setup and job management

Clone and setup virtual environments

rm -fdr $HOME/repos && git clone --depth 1 --single-branch --recurse-submodules --shallow-submodules https://github.com/jjmc89-bot/jjmc89-bot-toolforge $HOME/repos && toolforge-jobs run setup-venvs --command $HOME/repos/bin/setup-venvs --image python3.11 --wait

Load jobs

toolforge-jobs load $HOME/repos/cronjobs.yaml