Commit Graph

6 Commits

Author SHA1 Message Date
rainyy21 62a9cf28f5 Show the watcher itself as a read-only row on the dashboard
The watcher writes its self-update status (running vs latest commit,
up to date / updating / held / error) to data/self.json, kept out of
state.json so the removed-stack cleanup never touches it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:36:54 -05:00
rainyy21 a54c625d66 Self-update from a configurable remote (SELF_REMOTE), use gitea
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:30:38 -05:00
rainyy21 5f70813202 Move web app up a level, live dashboard refresh, self-update
- web: move app/web/web/* to app/web/, drop the old standalone compose
  file and watcher_additions.py (merged into watcher.py)
- web: /api/version fingerprint of state, config and queued requests;
  the page polls it every 2s and reloads as soon as the watcher acts
- watcher: self-update. When its own branch has a new commit and the
  checkout is clean, start a one-off gitops-watcher-updater container
  that runs git pull + docker compose up -d --build on the host checkout
- watcher: refuse to deploy/stop/remove its own compose project, which
  used to stop the watcher itself mid-way

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-11 16:17:05 -05:00
rainyy21 92aba3bf38 finish the ain watcher command and finish the cli, modify the requirement and started a web template, modify the docker file 2026-11-11 00:16:45 -05:00
rainyy21 ddef48ad6b improve on it so now it check if there any update if there is pull and push it to the container 2026-11-10 12:32:50 -05:00
rainyy21 287ea4b90c move the watcher to a app file and set up docker file and docker compose file 2026-11-09 13:39:25 -05:00