Repository navigation
Conversation
This step builds a docker image, then executes tests against it. This commit enables BuildKit + Docker layer caching in the integration job This should help: - Maven cache layers (/tmp/m2_repo) are reused across workflow runs - The expensive dependency:resolve steps become near-instant
The GHA Docker layer cache was keyed globally, meaning dependency pre-fetch layers could be served from cache even after pom.xml changes. This would mask any newly introduced BOM imports or other dependency changes until the cache was manually invalidated. Introduce a pom.xml content hash as the cache scope so that any change to any pom.xml automatically produces a new cache scope, forcing the dependency pre-fetch layers to re-run online before the offline build.
Member
Author
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.
These related changes should both make the 'execute integration CI tests' step run faster, and do a better job of managing the Docker layer cache.
See individual commit messages for more details.