Skip to content
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

Update tools using renovate #3527

Merged
merged 2 commits into from
Dec 10, 2024

Conversation

swiatekm
Copy link
Contributor

@swiatekm swiatekm commented Dec 9, 2024

Description:

Add a renovate configuration, enabling a single manager to update tool versions in the Makefile. The updates are enabled by adding a comment above the version declaration in the Makefile, specifying where to look for the dependency and how to update it.

I've ignored operator-sdk for now, because I'm not sure what the upgrade strategy should be there.

Link to tracking Issue(s):

#3450

Testing:

I have this configuration active in my fork. Here's an example of a tool update PR: swiatekm#71.

renovate bot and others added 2 commits December 9, 2024 13:18
(cherry picked from commit e940860)
@swiatekm swiatekm requested a review from a team as a code owner December 9, 2024 12:23
@swiatekm swiatekm added the Skip Changelog PRs that do not require a CHANGELOG.md entry label Dec 9, 2024
Copy link
Member

@frzifus frzifus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've ignored operator-sdk for now, because I'm not sure what the upgrade strategy should be there.

Is there an option to only update minior versions automatically?

@swiatekm
Copy link
Contributor Author

swiatekm commented Dec 9, 2024

I've ignored operator-sdk for now, because I'm not sure what the upgrade strategy should be there.

Is there an option to only update minior versions automatically?

Yeah, you can add a rule to disable specific update types for a package.

Copy link
Contributor

@jaronoff97 jaronoff97 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

perfect. This is so cool!

@swiatekm swiatekm merged commit 6be6ed0 into open-telemetry:main Dec 10, 2024
38 of 39 checks passed
@swiatekm swiatekm deleted the chore/renovate-update-tools branch December 10, 2024 17:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Skip Changelog PRs that do not require a CHANGELOG.md entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants