Page MenuHomePhabricator

[jobs-api,infra] upgrade all the existing toolforge jobs to the latest job version
Open, HighPublic

Description

This will allow us to get rid of a bunch of code that tries to handle all the different versions the job spec has been through, and help us continue evolving it.

Event Timeline

dcaro triaged this task as High priority.Mar 8 2024, 4:57 PM
dcaro created this task.

We did a bit of research today about the size/scope of the problem:

aborrero@tools-sgebastion-11:~$ kubectl sudo get cronjobs --all-namespaces --selector=app.kubernetes.io/managed-by=toolforge-jobs-framework | wc -l
1767
aborrero@tools-sgebastion-11:~$ kubectl sudo get cronjobs --all-namespaces --selector=app.kubernetes.io/version="1" | wc -l
402
aborrero@tools-sgebastion-11:~$ kubectl sudo get cronjobs --all-namespaces --selector=app.kubernetes.io/version="2" | wc -l
1366

aborrero@tools-sgebastion-11:~$ kubectl sudo get deploy --all-namespaces --selector=app.kubernetes.io/managed-by=toolforge-jobs-framework | wc -l
129
aborrero@tools-sgebastion-11:~$ kubectl sudo get deploy --all-namespaces --selector=app.kubernetes.io/version="1" | wc -l
22
aborrero@tools-sgebastion-11:~$ kubectl sudo get deploy --all-namespaces --selector=app.kubernetes.io/version="2" | wc -l
108