imbajin opened a new pull request, #3171: URL: https://github.com/apache/hugegraph/pull/3171
## Summary - make the Maven build stage identical across PD, Store, HStore Server, and standalone Server - add a Buildx Bake graph that executes the source-revision-isolated reactor once and fans out four amd64/arm64 runtime images - export one shared registry cache instead of four duplicate per-image caches - keep individual Dockerfile builds supported and validate the shared-stage contract in Docker CI ## Why The current publish run executed three full Maven reactors and four serial cache exports. Run 32802972691 spent 29m14s in candidate builds and 32m11s overall. This change preserves the source-revision-isolated `mvn install` correctness guard introduced in #3159, applies it consistently to all four Dockerfiles, and removes the divergent `-DskipTests` build key. ## Validation - local fresh BuildKit build: one Maven reactor followed by parallel runtime targets - local repeated build: 51s with Maven/runtime layers cached - local PD/Store/HStore Compose health checks and bundled example import: 6V/6E - local Gremlin create/delete: 7V/7E then restored to 6V/6E - local standalone `/versions`: API 0.71.0.0 - local and GitHub runner inspection: all four tags contain linux/amd64 and linux/arm64 - read-only end-to-end run: https://github.com/hugegraph/actions/actions/runs/32808565083 (7m54s total / 5m30s build) - publishing end-to-end run: https://github.com/hugegraph/actions/actions/runs/32809155691 (11m13s total / 8m21s build including the first shared cache export) - published test indexes and shared cache inspected successfully on Dockerhub Baseline: https://github.com/hugegraph/actions/actions/runs/32802972691 The companion actions workflow branch is `hugegraph/actions:perf/pd-store-server-bake`; its PR will be opened after this PR CI completes to avoid concurrent validation runs. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
