-
Notifications
You must be signed in to change notification settings - Fork 92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Investigate consolidating renoavte and dependabot #2948
Comments
What Happens If We Switch To Only Using DependabotPros of using dependabot
Cons of using dependabot
Migration Path & Other Suggestions
Outstanding work
|
What Happens If We Switch To Only Using RenovatePros of using renovate
Cons of using renovate
Migration Path & Other Suggestions
Outstanding work
|
Regarding the outstanding work section, here are some data points
It is common to see this done. Examples:
A way to accomplish this option:
|
ConclusionI think dependencies with major version upgrades should be deployed. Maybe even some minor version upgrades too. Patch version upgrades are okay to be skipped. If we want this selective deployment, using 1) the example that adds a tag added by reviewers could be useful or 2) examining the metadata (via steps.dependabot-metadata.outputs.update-type) of the dependabot PR could help. To keep things simple, we could just deploy on all dependency updates. In whichever case we do decide to do, we should add reviewed deployments. This will prevent a bad dependency from automatically being built and deployed. A human has to OK the dependency version. |
Last week it was discussed whether we should keep both renovate and dependabot or consolidate to one. I added my notes to this thread here. FYI for @DanielRyanSmith @foolip @KyleJu @past |
Thank you for the very thorough analysis and investigation, James! I agree with your conclusion, although it doesn't look like you have a recommendation regarding consolidating on renovate or dependabot? I feel slightly more inclined to move towards dependabot as it is a first-party bot, but I want to know what the rest of the team thinks. |
+1 to @past's comment. I have gone through the third-party application approval process for Moreover, third-party applications add another layer of complexity to store credentials, since GitHub has to indirectly access to our GCP service account secret from another party. Overall, my gut feeling here is that the simpler, the better. |
Thanks for the feedback! I created #2959 to track the work. |
Why
We currently leverage two systems for dependency upgrades: renovate and dependabot. Recently, there have been some problems where dependabot PRs cannot successfully finish their gates. (#2926, #2925, #2924) This is due to the fact that GitHub has changed the behavior of Dependabot to be more secure. Dependabot no longer has access to the same secrets as a normal pipeline. That begs the question that why doesn't renovate enforce something like this too? Instead of having to wonder about the security of two systems doing the same thing, why not just consolidate to one and keep up to date with that single one.
The text was updated successfully, but these errors were encountered: