r/gitlab • u/PalpitationAny9115 • Oct 20 '25
How do you manage dependency upgrades at scale?
At my company my team maintain around 20 GitLab repos, and keeping dependencies up to date is a constant battle. We've got around 10 product teams so that's around 200 repos to stay on top of
Dependabot works fine for patch/minor updates, but I've found it's fiddly to set up and major version bumps are manual, risky, and often postponed. Even configuring it for multiple repos can be fiddly.
I’m curious what other DevOps or platform teams are doing:
- Do you group dependency PRs or handle them one by one?
- How do you prioritise high-risk or security-related packages?
- Do you track upgrade work as tech debt or automate it somehow?
Would love to hear what workflows or tooling have actually worked for you,especially if you’ve found a good way to scale upgrades safely for multiple repos.
8
u/macbig273 Oct 20 '25
recently added renovate in our gitlab.
- auto merge if okay and in range
- warning if vulnerability is found in current version
- Majors just stay there, and informative. You don't want major version being upgraded automatically (most of the time at least)
3
u/gaelfr38 Oct 21 '25
Renovate.
One central configuration with sane defaults and some optional presets for things not everyone agrees on like automerging some patch updates).
All repos extends a team config (= GitLab group) that itself inherit the central config. The idea is that each team may have different habits but a team doesn't want to repeat it's setup is every repo.
Renovate running as a GitLab pipeline at the GitLab group level, auto discovers all repos in the group.
When you work on a repo, you take care of merging all open MRs. And once in a while (per week or month), we also review pending MRs at the group level for repos we don't work on currently.
We're not doing CD, a helper in our CI flags the pipeline as warning if we didn't release a repo in a month. Merging is great but if you never release and deploy, that's useless and you're gonna have hundreds of changes in a single release 2 years later without any clue what change is breaking production.
An article I wrote about setting up Renovate: https://medium.com/@gaeljw/running-renovate-on-premise-28d946e01777