go-choria
go-choria copied to clipboard
Support deploying external agents with the machines watcher
Later we'll rename it to plugins watcher once its properly generic.
- [x] New generic
plugins
watcher created, heavilymachines
watcher based so the basic mechanics are known. It's just been made generic- [x] Various just renames for machines -> plugins
- [x] Target dir made configurable rather than assume machines dir - defaults to machines dir
- [x] Prefix of manager machines configurable from previous hardcoded
mm_
, this allows agentx
and machinex
to be managed correctly. Defaults tomm_
- [x] Machines manager auto agent plugin recreated on plugins
- [ ] External Agents manager auto agent plugin created like machines manager
- [x] Integrated for testing into choria compose
- [x] Old
mms
command moved tochoria machine plugins pack
allowing us space to iterate there around things like validation etc - [x] Old
machines
watcher kept - and not compiled in as before - for those relying on it - [ ] Docs updated for new
plugins
watcher notmachines
watcher
You're probably aware, but just an FYI the choria machine mms
command isn't plumbed to match the docs yet. I took a stab but wasn't sure if this should be part of the new plugin system. Only mention it in off chance it was overlooked.
Never-mind, I see it: choria machine plugins pack
Yeah sorry about that been a bit of turbulence here as I realised it would be impossible to get the “machines” watcher to be more generic and keep working as before.
So there is a plugins watcher now that’s almost identical but can also handle rpc agents and more.
Docs not updated for that will try today.
Such is life on main I am afraid