Skip to content

CI: two fixes for "execute integration CI tests" step - #3150

Merged
guusdk merged 2 commits into
igniterealtime:mainfrom
guusdk:CI-integration-ci-tests_docker-improvements
Mar 3, 2026
Merged

guusdk merged 2 commits into
igniterealtime:mainfrom
guusdk:CI-integration-ci-tests_docker-improvements

Conversation

@guusdk

@guusdk guusdk commented Mar 3, 2026

Copy link
Copy Markdown
Member

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.

guusdk added 2 commits March 3, 2026 14:27
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.
@guusdk
guusdk requested review from akrherz and dwd March 3, 2026 13:30
@guusdk
guusdk merged commit 5ec3689 into igniterealtime:main Mar 3, 2026
23 of 24 checks passed
@guusdk

guusdk commented Mar 3, 2026

Copy link
Copy Markdown
Member Author

Manually backported to branch 5.0 in b084584 and b084584

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant