Files
spring-boot/src/spring-boot-builder
Scott Frederick da9d8d6055 Use test harness for image building integration tests
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
2021-03-30 16:48:28 -05:00
..

= 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
----