Add Renovate to sync linkedin/iceberg 1.2.x and 1.5.x lines#635
Open
cbb330 wants to merge 1 commit into
Open
Conversation
Self-hosted Renovate (GitHub Actions, hourly) keeps the com.linkedin.iceberg fork pinned to the newest release within each line. A regex customManager updates the source-of-truth version strings directly (iceberg_1_2_version, iceberg_1_5_version), and per-line matchCurrentVersion / allowedVersions rules give the 1.2.x and 1.5.x pins independent ceilings on the shared artifacts -- something native Dependabot's per-artifact ignore rules cannot express. Scoped via enabledManagers to only these version strings; opens one PR per line.
60d6c09 to
021c7b5
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This adds Renovate — an open-source tool that watches dependency versions
and opens a pull request when a newer one is available — and points it at the
LinkedIn build of Iceberg (
com.linkedin.iceberg, the table library OpenHousedepends on). A scheduled job runs it every hour on GitHub's own machines.
OpenHouse uses two versions of this library at the same time: one in the
1.2.xseries (any version starting with1.2.) and one in the1.5.xseries. The tool keeps each series on its own newest version and never lets one
cross into the other. First-run result, confirmed locally without opening any
pull requests:
iceberg-core:1.2.0.17→1.2.0.18iceberg-core:1.5.2.11→1.5.2.15Changes
New Features
Documentation
.github/renovate.json— the rules above..github/workflows/renovate.yml— the hourly scheduled job.docs/development/renovate-iceberg-sync.md— setup and reasoning.Testing Done
Ran Renovate locally in a mode that reads the repo and looks up versions but
opens no pull requests; it proposed exactly the two updates above, each staying
inside its own series. Also checked
renovate.jsonwith Renovate's officialconfig validator.
Additional Information
Optional: adding a repository secret named
RENOVATE_TOKENlets the updatepull requests run their tests automatically. GitHub will not start test runs on
a pull request opened with a workflow's built-in credentials (a guard against
workflows triggering each other), so without this secret the pull requests
still open but you start their tests by hand. A personal access token or a
GitHub App token works. It is not required to merge this change.
This covers the two main version numbers only. The separately pinned
iceberg-aws(1.2.0.6) is left out on purpose and can be added the same waylater.