Repository navigation
Conversation
783a246 to
2f6198a
Compare
|
Hi! I have never used dependabot for Docker. What exactly will this update? Will it attempt to update Docker image tags? FROM hexpm/elixir:1.20.1-erlang-29.0-debian-bookworm-20260610 as builder
# ...
FROM hexpm/elixir:1.20.1-erlang-29.0-debian-bookworm-20260610 as runnerIf yes, then I don't think that's desirable in any of the Elixir repos. Those tags are tied to a specific Elixir version and shouldn't be changed until the next minor Elixir release. |
|
Yes, it is for updating the tags as well as the build hash. The stated policy is to use pinned versions for external resources like Docker images, eg
I'm a touch confused by this. IIUC you're saying this upgrades Elixir but Elixir shouldn't be upgraded until there's a release. Wouldn't Elixir versions only change when new versions are released? |
|
This docker tag
I am happy to keep Debian up to date, but the problem is that we do not want any Elixir updates nor Erlang updates until the next MINOR release of Elixir (e.g. Additionally, Elixir and Erlang versions used in this Docker tag must always also match the versions specified in This is true for all Elixir tooling repos. Additionally additionally, the Erlang and Elixir versions used in the tooling repos must also always match the versions used in the main language repo in Github workflows, and the main language repo must always be the first one to get updated to prove that the example and exemplar solutions still work on the new language version before updating anything else. The test runner and the analyzer are pretty fragile projects and they tend to break in unexpected ways with new Elixir releases. We don't want any extra work regarding that, and we also don't want to accidentally let the versions between different repos get out of sync. |
angelikatyborska
left a comment
There was a problem hiding this comment.
Yet another problem is that the hexpm:elixir image has tags with different operating systems, e.g. different ubuntu and debian versions: https://hub.docker.com/r/hexpm/elixir/tags
If Dependabot just ends up opening a PR every time there is a new tag of that image, it will end up constantly switching between the different operating systems.
|
I'm also of the mind of not merging this change, for this repo and the others. |
|
|
@IsaacG Your latest comment reads as if you didn't really understand our concerns about auto-updating the Docker tags. You're saying:
But we already said that our concerns are not about OS updates. Please read my comment again: #148 (comment) I didn't see the discussion where it was decided to manage Docker versions in all repos via Dependabot, but I have a feeling this decision was made with the assumption that Docker tags follow semantic versioning. This assumption is not true for the Docker images that we're using 🤷. |
|
I wanted to run an experiment to check exactly how Dependabot would behave when updating such complex tags (see Dockerfiles in https://github.com/angelikatyborska/docker-dependabot-test). It looks like at the moment, Dependabot is unable to even handle this specific image. The Dependabot run fails due to 504 responses from Docker Hub (see logs: https://github.com/angelikatyborska/docker-dependabot-test/actions/runs/40196017952/job/121176905794). There is an issue open in the dependabot-core about this problem for this specific Docker image: dependabot/dependabot-core#15405 |
Could you explain what you mean by this? Is this standard one version vs multiple versions/components in the tag?
I did not expect this! Thanks for the feedback and discussion! I'm a little sad that the Elixir version upgrades are so fragile and complicated :( Thank you for maintaining the track and those upgrades! |
No description provided.