-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Should we be pinning default versions for the Docker images used by Watchdog? #80
Comments
yes, this is a nice split between pinned versions but that still can easily be upgraded when the default changes. We'll loose the benefits of always being on Ship it! |
+1 for more consistency/stability 🚀 |
So it turns out that dependabot does not support monitoring docker compose files and they've been tracking this issue for 5 years now with no meaningful progress 🤷♂️ Another alternative to get notified when a new docker image of a container we're running is available that we could run alongside watchdog like https://github.com/containrrr/watchtower. I'm not comfortable with this solution because it requires giving access to the docker socket Last resort would be to use an external service like https://docker-notify.com/ or https://releasealert.dev/ For now I would say let's keep checking manually every now and then when new image tags are available, for example with |
👍 Sounds good! Really, I imagine it would not be too difficult to roll-our-own GitHub action that would just compare our current version of the Docker images with the latest from DockerHub. 🤔 Not a big deal to do it manually for now, though! |
…#84) * chore(#80): pin docker images versions to current versions used * chore(#80): remove commented latest versions to check if dependabot can work it out * chore(#80): pin postgres exporter to currently used version * chore(#80): pin development images versions * fix(#80): fix postgres-exporter version tag
Currently we the default version for all the Docker images used by Watchdog is just
latest
. This has some pros and cons:Pros:
Cons:
latest
. If one of the images pushes a breaking change that is not supported by Watchdog it could break the deployment.Proposal
I am thinking we should just set the latest versions as the default values instead of using
latest
. Perhaps we could add some CI checks that would remind us to bump the version (or could Dependabot be configured to just submit a PR??). This way, when you deployed Watchdog, you would not have to worry about manually managing all the image versions. Instead, if you do not have any custom versions configured, then you will automatically get the new image versions when upgrading Watchdog.@mrjones-plip @m5r Thoughts?
The text was updated successfully, but these errors were encountered: