mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-07-15 01:07:30 +08:00
Merge branch '3.0.x'
Closes gh-35356
This commit is contained in:
commit
21406e7567
@ -312,8 +312,10 @@ class PaketoBuilderTests {
|
|||||||
.contains("paketo-buildpacks/ca-certificates", "paketo-buildpacks/bellsoft-liberica",
|
.contains("paketo-buildpacks/ca-certificates", "paketo-buildpacks/bellsoft-liberica",
|
||||||
"paketo-buildpacks/executable-jar", "paketo-buildpacks/spring-boot",
|
"paketo-buildpacks/executable-jar", "paketo-buildpacks/spring-boot",
|
||||||
"paketo-buildpacks/native-image");
|
"paketo-buildpacks/native-image");
|
||||||
metadata.processOfType("web").containsExactly("/workspace/example.ExampleApplication");
|
metadata.processOfType("web")
|
||||||
metadata.processOfType("native-image").containsExactly("/workspace/example.ExampleApplication");
|
.satisfiesExactly((command) -> assertThat(command).endsWith("/example.ExampleApplication"));
|
||||||
|
metadata.processOfType("native-image")
|
||||||
|
.satisfiesExactly((command) -> assertThat(command).endsWith("/example.ExampleApplication"));
|
||||||
});
|
});
|
||||||
assertImageHasDependenciesSbomLayer(imageReference, config, "native-image");
|
assertImageHasDependenciesSbomLayer(imageReference, config, "native-image");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user