docker-compose.extractPackageFile silently assumes version 2+ #6570
Labels
auto:reproduction
A minimal reproduction is necessary to proceed
manager:docker-compose
Docker Compose files
priority-2-high
Bugs impacting wide number of users or very important features
type:bug
Bug fix of existing functionality
What Renovate type are you using?
Self-hosted.
Describe the bug
Renovate assumes that a
docker-compose.yaml
file will have aservices
key, which is only true of version 2 and 3 docker-compose files; version 1 puts all of the services on the top level. This causes renovate to silently fail to find anything to update on older compose files.Ideally Renovate should check the
version
and load the services from the root if it's absent, or at least log a message explaining that this is what happened.To Reproduce
Run renovate on a docker-compose v1 file and then spend several hours trying to figure out what you've misconfigured to make it not try to update anything.
The text was updated successfully, but these errors were encountered: