David Hyman
10/25/2021, 5:00 PMload_from:
- grpc_server:
host: executor
port: 4000
Clicking the "reload repository" buttons on the UI all indicate they are doing something, but the pipelines are never updated.
Previously I suspected the 'lazy repository' pattern (I was returning a callable as per docs) but even returning JobDefinition objects it still doesn't work. It requires a full container restart to force a reload:
@repository
def dev_repository():
return list(pipelines_factory(mode=mode_development))
My questions are:
• what am I doing wrong?
• how can I have a containerised deployment that supports reloading (manual, or preferably automatically via a 'sensor'?)
• or perhaps I've misunderstood the functionality - what is the act of 'reloading repository' for, if not to re-fetch repository content?
TIA! 😀
(0.13.0, but I couldn't get it to work prior to that either)daniel
10/25/2021, 7:15 PMDavid Hyman
10/26/2021, 8:25 AM