NebraLtd / hm-block-tracker

Helium Block Tracker enables "instant sync" functionality for Helium Hotspot Miners
MIT License
8 stars 5 forks source link

document GA updates for snapshotter tool (and possibly implement auto-updates) #39

Open shawaj opened 2 years ago

shawaj commented 2 years ago

right now we have this guide about how to set up the snapshotter https://github.com/NebraLtd/hm-block-tracker/blob/master/snapshotter/README.md

however, it does not contain any details about updating to latest GAs, how frequently this should be done etc.

I am also not sure why this could not be automated?

vpetersson commented 2 years ago

It is updated and is running in a cronjob. The problem is that updates like the latest one broke our logic since they made non-backward compatible changes. We can't really build logic for these unknowns. But yes, better documentation is indeed needed.

shawaj commented 2 years ago

@vpetersson the snapshot taking is in a cron job but the updating of the GA is not.

The GA update is entirely manual AFAIK

vpetersson commented 2 years ago

We can't automatically bump GAs straight to production. Working on setting up a staging environment now as per the other ticket.

shawaj commented 2 years ago

@vpetersson we can for the snapshotter tool (i.e. the VM actually creating the snapshots). there is no reason I can see that we wouldn't do this...and plenty of reasons that not doing so is bad

shawaj commented 2 years ago

https://github.com/containrrr/watchtower