nerves-hub / nerves_hub_web

Manage firmware updates for Nerves devices
https://nerves-hub.org/
Apache License 2.0
184 stars 69 forks source link

Let the orchestrator manage device updates #1496

Closed joshk closed 2 weeks ago

joshk commented 3 weeks ago

Also, do we know if the orchestrator handles devices currently downloading a firmware as to not mess things up?

Before a Device is told to update we create an InflightUpdate DB row. This can be found on line 262 in device_channel.ex.

joshk commented 2 weeks ago

@jjcarstens This is ready for re-review

I've added a UI for pushing an update if its available.

There is one failure, but that is because of the Registry test, which I'm going to fix next (this helps simplify things)