-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
…of branchName (#32278) Update logic for branchNameStrict=true so that it also removes forward slashes from branch names, with the exception of the `branchPrefix` part. In other words, if you leave the default `branchPrefix="renovate/"` then you'll get branch names like `renovate/foo-bar-42-x` instead of today's `renovate/foo/bar-42-x`. BREAKING CHANGE: Branch names with multiple forward slashes will change if branchNameStrict=true
- Loading branch information
There are no files selected for viewing
5 comments
on commit a6d93dc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changing the UID is a breaking change for the docker image and should have been in the change log. The existing base directory in the volume or bind mount is owned by the old user id.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was marked as breaking change in the release notes:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for highlighting that resource for me, I'm glad that it's noted as a breaking change there. I'm not sure if it was listed correctly there on release; it may have been, but I do know that it was added to the release notes here on GitHub some time after the fact. The renovatebot fetches the GitHub release notes when it creates a pull request, and it was not listed as a breaking change when it generated or updated the pull request in my repository [screenshot]. It was probably missed because it was not noted in the commit here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to add, the release notes on Github;
deps: Renovate sidecard images will default to use Ubuntu 24.04 instead of 20.04, and use User ID 12021 instead of 1001
All our Docker images now set the Docker user ID to 12021, the old ID was 1001.
...have an error. As above, the old UID was actually 1000
. This bit us when upgrading, as since we already set the container to use UID 1000 I had assumed we were already using a non-default UID.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This had/has specifically consequences for templated gitlab runners since the cached directory renovate/cache/renovate/repository/
suddenly has the wrong file owner (see https://gitlab.com/renovate-bot/renovate-runner/-/blob/main/templates/renovate.gitlab-ci.yml?ref_type=heads#L16).
Clearing the runners cache fixes the issue. Opened an issue on the gitlab side.
BTW you could just have written this as
ubuntu
, so you don't need to change the UID if changed in base.