Open stgrace opened 1 year ago
Do we actually want that? Why not just cronjobs that launch replication jobs?
Maybe, not sure how we would handle different registries with regex etc for our purpose of scheduled jobs. Think it might create a lot of custom code in the job logic that might not need to be in there, but not sure
I think handling the regex should be part of the job logic. The sofplicator api should just hand over the list: [ { name: somecontainer, tag: "1..?..?"}, ... ] and the sofplicator job should be able to handle that. Whether the sofplicator api or a cronjob launches the job, that shouldn't matter.
If there's a cronjob for each different registry, I think that would not introduce too much complexity in the job code.
Ability to create scheduled jobs