Red Hat’s Renovate presets separate Lightwell rebuilds from Maven upgrades
The presets let Java teams choose between staying on an upstream version and taking broader updates, while Python uses its existing local-version rules.
Red Hat Developer’s Nov. 20 walkthrough shows how to bring Lightwell dependency rebuilds into the same Renovate workflow that already proposes application updates. The key decision is whether a Java application should stay on its current upstream library version and take only rebuilt artifacts, or let Renovate propose upstream version changes as well. Red Hat published shareable configurations for both policies.
Pick the update policy before enabling the bot
The preset repository documents java-remediated as the narrow option: for instance, it can move a dependency from 3.7.1.rhlw-00001 to 3.7.1.rhlw-00002 without proposing a different upstream version. java-upgrade uses Maven versioning and filters candidates to Lightwell artifacts, but allows jumps between upstream versions. The trade-off is straightforward: the first policy keeps remediation changes smaller; the second makes sense when a team already reviews and tests broader library upgrades.
Python takes a different path. The repository says python-manager points Renovate at the Lightwell repository rather than introducing a custom version rule: pip and uv already understand local versions such as 3.0.1+rhlw.1. A requirement pinned to ==3.0.1 can match that rebuild without a corresponding change to the requirement. In a pilot, check the artifact the build actually resolved rather than assuming that an unchanged requirement means nothing changed.
Run a pilot through the registry you already use
Red Hat’s guide illustrates an internal Artifactory mirror, as well as direct access to Lightwell. If you use a mirror, the preset repository shows how to override the registry URL and set authentication for that host. It also recommends pinning the preset to a Git tag so consuming repositories don’t pick up breaking configuration changes automatically. The shared presets do not ship credentials.
Start with one application and a known dependency, then verify the version Renovate proposes and the artifact CI installs. Keep merges gated on the application’s test suite, as in Red Hat’s example. That gives platform teams a way to validate the update policy and registry path before rolling the preset out across application repositories.
sources
- Red Hat Developer: Automate Lightwell updates with Mend Renovatedevelopers.redhat.com
- Lightwell Renovate configuration presets and examplesgithub.com
comments · 0