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.
List of affected tools:
How to recreate your jobs
me@mylaptop$ ssh login.toolforge.org <myuser>@tools-bastion-15:~$ become <mytool> tools.<mytool>@tools-bastion-15:~$ toolforge jobs dump recreating_jobs.yaml tools.<mytool>@tools-bastion-15:~$ cat recreating_jobs.yaml ## Double check that all your jobs are there and correctly configured ## Now in the order you want tools.<mytool>@tools-bastion-15:~$ toolforge jobs delete <myjob> tools.<mytool>@tools-bastion-15:~$ toolforge jobs load recreating_jobs.yaml --job <myjob> ## Repeat with the rest of jobs, or if you just want to start all the rest in whichever order tools.<mytool>@tools-bastion-15:~$ toolforge jobs load recreating_jobs.yaml tools.<mytool>@tools-bastion-15:~$ toolforge jobs list -o long ## Double check everything looks ok
What we will do automatically
This deletes all the jobs and recreates them in no specific order:
tools.<mytool>@tools-bastion-15:~$ toolforge jobs dump recreating_jobs.yaml tools.<mytool>@tools-bastion-15:~$ toolforge jobs flush tools.<mytool>@tools-bastion-15:~$ toolforge jobs load recreating_jobs.yaml