feat(monitoring): add update-run log, fix scheduler skipping stale customer containers
The automatic scheduler only recreated customer containers when it had just found a NEW image on Docker Hub. If an image was already pulled locally (e.g. from an earlier manual pull, or auto-apply was off at the time) but customer containers hadn't been recreated yet, the daily check reported "already up to date" and silently never touched those customers again — the recreate step needs to run independently of whether Hub had anything new, based on each customer's actual container-vs-local-image state. Also adds a persistent UpdateRunLog: every scheduled and manual pull/update run now records per-image pull results and per-customer recreate results, visible in Monitoring > Update Log, instead of only existing in container logs.
This commit is contained in:
@@ -45,6 +45,7 @@ def init_db() -> None:
|
||||
Deployment,
|
||||
DeploymentLog,
|
||||
SystemConfig,
|
||||
UpdateRunLog,
|
||||
User,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user