On 01/21 21:50, Roy Smith wrote:
> What's the right --image argument for toolforge-jobs to get a python3.11 
> backend?
> 
> I'm getting:  Value error, No such image 'tf-python311' when I do:
> 
> toolforge-jobs run add-tags-en --command $jobdir/add-tags-en.bash --image 
> tf-python311--schedule "*/5 * * * *"
> 
> 


That'd be python3.11, you can see all the pre-built images available running:

$ toolforge jobs images

Another option is building your project using the build-service [1], you'll
need to have your code in a public git repository (like gitlab.wikimedia.org).
That will also allow you soon-ish to deploy your code when it changes (push to
deploy), and you'll get support for more runtimes, and better control of your
running environment.

https://wikitech.wikimedia.org/wiki/Help:Toolforge/Building_container_images#Python

> _______________________________________________
> Cloud mailing list -- cloud@lists.wikimedia.org
> List information: 
> https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/


-- 
David Caro
SRE - Cloud Services
Wikimedia Foundation <https://wikimediafoundation.org/>
PGP Signature: 7180 83A2 AC8B 314F B4CE  1171 4071 C7E1 D262 69C3

"Imagine a world in which every single human being can freely share in the
sum of all knowledge. That's our commitment."

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Cloud mailing list -- cloud@lists.wikimedia.org
List information: 
https://lists.wikimedia.org/postorius/lists/cloud.lists.wikimedia.org/

Reply via email to