Repository navigation
build(cli): group the temurin bases of the server and cli images - #1344
Merged
Merged
Conversation
The CLI Dockerfile uses the same pinned eclipse-temurin build and run bases as the server Dockerfile. Renovate already reads both files, but would raise one pull request per file. A group rule makes it raise one digest bump for both, as the design of add-console-cli asks. A test checks the rule and that both Dockerfiles pin the bases by tag and digest. Signed-off-by: TheMeinerLP <github@themeinerlp.dev>
6 of 7 tasks
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.
Description
The CLI image and the server image use the same pinned Temurin bases. Renovate reads both Dockerfiles, but left alone it would open one pull request per file and the two images could drift apart. This adds one group rule so a new digest arrives once, for both. Part of task 8.2 of
add-console-cli.Release Please needs no entry for the CLI: the module takes its version from the root
projectVersion(set for all projects inbuild.gradle.kts), which Release Please already rewrites, soingot-cli-<version>.jarfollows the server release. Adding an entry would change nothing, so none is added.Type of change
build/ci/chore- tooling, dependencies, pipelinesHow was this tested?
python3 -m unittest discover -s .github/scripts/tests -t .github/scripts/tests: the newtest_renovate_config.pypasses. The only error istest_verify_sbom, which fails to import on this machine (missing local Python dependency) and is unrelated.Checklist
CLAUDE.md./gradlew buildpasses locally (no Gradle input changed)