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
This commit is contained in:
18
src/spring-boot-builder/builder/builder.toml
Normal file
18
src/spring-boot-builder/builder/builder.toml
Normal file
@@ -0,0 +1,18 @@
|
||||
# Buildpacks to include in builder
|
||||
[[buildpacks]]
|
||||
id = "spring-boot/test-info"
|
||||
version = "0.0.1"
|
||||
uri = "../buildpacks/test-info"
|
||||
|
||||
# Order used for detection
|
||||
[[order]]
|
||||
[[order.group]]
|
||||
id = "spring-boot/test-info"
|
||||
version = "0.0.1"
|
||||
|
||||
# Stack that will be used by the builder
|
||||
[stack]
|
||||
id = "io.paketo.stacks.tiny"
|
||||
build-image = "index.docker.io/paketobuildpacks/build:1.2.2-tiny-cnb"
|
||||
run-image = "index.docker.io/paketobuildpacks/run:tiny-cnb"
|
||||
run-image-mirrors = ["gcr.io/paketo-buildpacks/run:tiny-cnb"]
|
||||
Reference in New Issue
Block a user