Open joseph-palmer opened 1 year ago
One way to do this for the API could be to add logic to the CLI that checks the version of the API in use against the latest docker image version by querying docker hub with wget -q -O - "https://hub.docker.com/v2/repositories/turingrc/rctab-api/tags" | grep -o '"name": *"[^"]*' | grep -o '[^"]*$'
. If they don't match, we could alert the user from the CLI and could even trigger a restart of their API programmatically.
The function apps are more tricky because we don't, AFAIK, have a record anywhere of the version in use.
This will allow us to notify users via RCTab.
@Iain-S do you think would be an appropriate solution?
When a new image is released by a new software release, users will not automatically get this update and will need to manually restart the app that has been updated.
We should provide a means of notifying users of a new update.