firezone icon indicating copy to clipboard operation
firezone copied to clipboard

Gateway upgrade notification

Open jamilbk opened this issue 1 year ago • 3 comments

Send an email to admins when a Gateway upgrade is available.

Configurable on Sites.

jamilbk avatar May 27 '24 20:05 jamilbk

Careful not to spam this - might to limit it to 1x per week.

jamilbk avatar Aug 12 '24 17:08 jamilbk

Careful not to spam this - might to limit it to 1x per week.

Show a badge next to the gateway too?

thomaseizinger avatar Aug 12 '24 21:08 thomaseizinger

Just a thought - might be good to have these also in Weekly Report scorecard email.

  • Gateways out of date
  • Clients out of date
  • Metrics
  • etc

jamilbk avatar Aug 15 '24 22:08 jamilbk

What are we using for the source of truth for the latest gateway version?

bmanifold avatar Sep 09 '24 15:09 bmanifold

What are we using for the source of truth for the latest gateway version?

https://github.com/firezone/firezone/blob/947db254cc968ca0f4112d0aa54f78b3131700c6/scripts/Makefile#L23

You can put a

# mark:current-gateway-version

Wherever you need it in the source code and it will be auto-updated on rebuilds. If you need it dynamically, I would hit the GH releases API and look for the latest Gateway release.

thomaseizinger avatar Sep 09 '24 15:09 thomaseizinger

Yeah, I think I'll need it dynamically, because we can release the gateway without deploying the portal right?

bmanifold avatar Sep 09 '24 17:09 bmanifold

@bmanifold correct

jamilbk avatar Sep 11 '24 04:09 jamilbk

Just marking down some notes from discussion with @jamilbk

  • This will be an opt-in feature
  • Only online gateways will be checked at the time the weekly job is run
  • The email portion of this feature will only be for paid accounts

bmanifold avatar Sep 12 '24 04:09 bmanifold