Skip to content

ci: Manage min sdk using renovate#2032

Open
thompson-tomo wants to merge 6 commits intoopen-telemetry:mainfrom
thompson-tomo:feat/bump_min_gemspec
Open

ci: Manage min sdk using renovate#2032
thompson-tomo wants to merge 6 commits intoopen-telemetry:mainfrom
thompson-tomo:feat/bump_min_gemspec

Conversation

@thompson-tomo
Copy link
Contributor

@thompson-tomo thompson-tomo commented Feb 27, 2026

Bump min gemspec ruby sdk version on approval within renovate. This ensures the gemspec and github actions are mantained.

This also improves the renovate dashboard by grouping the min sdk updates into their own category.

depNameTemplate: "{{packageName}}-alpine",
},
{
customType: "regex",
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't quite understand how this is supposed to work. Do you have a guide that I may review to understand the implications of this change?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The best doc I have found is https://docs.renovatebot.com/configuration-options/#custommanagers

In effect it locates files which match managerFilePatterns. For each file it does a regex search for each matchString from which the current version is extracted and in this case depname is hard coded. It then uses the datasource to find all new versions. We descard all non x.y.0 updates.

There is a package rule which says if the update matches this depType then it needs approval to be created.

In effect it automates the update of all the gemspecs after an approval.

@thompson-tomo
Copy link
Contributor Author

thompson-tomo commented Feb 28, 2026

Putting this to draft till #2031 lands as the rule introduced there will need to be extended to allow these updates through.

@thompson-tomo thompson-tomo marked this pull request as draft February 28, 2026 00:33
@thompson-tomo thompson-tomo force-pushed the feat/bump_min_gemspec branch from 054c474 to 12b2426 Compare March 12, 2026 03:31
@thompson-tomo thompson-tomo marked this pull request as ready for review March 12, 2026 03:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants