Skip to content

[jobs-api] save business models in a DB

Changes:

  • storage/k8s
  • runtimes/k8s
    • refactor runtime methods (renames, refactors, new methods)
    • remove all methods for getting the jobs from the runtime (we no longer need these since jobs will be saved in custom resources)
    • refactor all methods that fetch job status
    • move cron.py to runtime/k8s
    • other tjf/runtime/k8s refactors
  • tjf/api
    • move file resolution and cron parsing all the way to the runtime from the models. We no longer need these here.
    • refactor jobs.py and api.py to make use of the all the changes
    • other tjf/api refactors
  • tests
    • added new tests and modified other affected tests
    • other test refactors

Depends-On: !91
Depends-On: toolforge-weld!75 (merged)
Bug: T359650
Signed-off-by: raymond-ndibe rndibe@wikimedia.org

Edited by Raymond Ndibe

Merge request reports

Loading