Page MenuHomePhabricator

toolforge-jobs should have a method to load a single task (or a subset of tasks) from a yaml file
Closed, ResolvedPublicFeature

Description

For Wikibugs, we may want to temporarily shut down the phabricator listener. To re-start it, we currently have to either manually build a toolforge-jobs run command based on the yaml file contents, or we have to force-restart all three components. It would be great if we could instead run

toolforge-jobs load libera/k8s-jobs.yaml wikibugs-phab

to (re)load a specific job. (This also links into T306311)

Event Timeline

JJMC89 changed the subtype of this task from "Task" to "Feature Request".Apr 17 2022, 4:34 PM

Change 820887 had a related patch set uploaded (by Majavah; author: Majavah):

[cloud/toolforge/jobs-framework-cli@master] load: Support loading a single job only

https://gerrit.wikimedia.org/r/820887

Change 820887 merged by jenkins-bot:

[cloud/toolforge/jobs-framework-cli@master] load: Support loading a single job only

https://gerrit.wikimedia.org/r/820887