Registry alias name change (#33922) no longer groups images from the same place together #33966
Replies: 2 comments
-
Hi there, Get your discussion fixed faster by creating a minimal reproduction. This means a repository dedicated to reproducing this issue with the minimal dependencies and config possible. Before we start working on your issue we need to know exactly what's causing the current behavior. A minimal reproduction helps us with this. Discussions without reproductions are less likely to be converted to Issues. Please follow these steps:
If you need help with running renovate on your minimal reproduction repository, please refer to our Running Renovate guide. The Renovate team |
Beta Was this translation helpful? Give feedback.
-
this is an expected side effect. you need to manually group them if you want. this is now the same behavior as with not automatically grouping |
Beta Was this translation helpful? Give feedback.
-
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitLab, renovate v39.146.1
Please tell us more about your question or problem
The recent change to the way aliases were handled (#33922) stops renovate automatically grouping dependencies if they are from the same place but have different alias names.
We have the example where we have a CI variable to reference a harbor cache ($CI_REGISTRY_IMAGE) in our gitlab-ci file which in our CI pipelines are configured to point to our harbor cache
e.g
Renovate is then configured to alias this to to docker.io
We then have a docker-compose file that we run locally so do not have the variable CI_REGISTRY_CACHE configured so need to reference docker.io directy
Before the change in #33922 as the images were the same these were grouped as they are updating the same docker image, but not renovate separates them out to treat them as separate dependencies. Is it possible to revert this breaking change of behaviour in config so that aliases are treated as they were previously without configuring custom package rules?
Logs (if relevant)
Logs
Beta Was this translation helpful? Give feedback.
All reactions