mirror of
https://github.com/spring-projects/spring-boot.git
synced 2026-09-27 20:49:34 +00:00
This commit modifies the integration tests for the Maven and Gradle image building goal and task to use a custom builder as a test harness to verify that the plugins invoke the builder as expected. Fixes gh-25838
= Spring Boot Test Builder This directory contains a Cloud Native Buildpacks https://buildpacks.io/docs/concepts/components/builder/[builder] and https://buildpacks.io/docs/concepts/components/buildpack/[buildpack] that is used by integration tests to verify the behavior of the Spring Boot build plugins. == Creating the builder * Install the https://buildpacks.io/docs/install-pack/[pack CLI] * Authenticate to Docker Hub via `docker login` using the `springci` repository credentials * Use `pack` to create the builder image and publish it to Docker Hub: [source,bash] ---- $ cd builder $ pack builder create springci/spring-boot-cnb-builder:0.0.1 --config builder.toml --publish ----