170 Commits

Author SHA1 Message Date
Moritz Halbritter
ae16856bda Revert "Use noble buildpacks instead of jammy"
This reverts commit 4f672b9588019093a99d27d507a682403d1a1138.

See gh-42711
2025-02-19 16:00:27 +01:00
Moritz Halbritter
1007061537 Revert to jammy base when running system tests
These tests need a shell, which is not available in the noble tiny
image. There are no non-tiny images for noble available yet.

See gh-42711
2025-02-19 14:53:16 +01:00
Moritz Halbritter
4f672b9588 Use noble buildpacks instead of jammy
Closes gh-42711
2025-02-19 13:59:21 +01:00
Andy Wilkinson
0be4062116 Merge branch '3.4.x'
Closes gh-44213
2025-02-11 11:35:12 +00:00
Andy Wilkinson
30d7af4e38 Add CI with Java 24
Closes gh-44205
2025-02-11 11:34:43 +00:00
Phillip Webb
f08188d5cf Change relevant Assert calls to throw IllegalStateException
Change certain Assert class from `assert...` to `assertState`
so that a more appropriate `IllegalStateException` is thrown.

Fixes gh-43779
2025-01-11 21:16:36 -08:00
Andy Wilkinson
425876e95e Merge branch '3.3.x' 2025-01-02 15:36:39 +00:00
Andy Wilkinson
b4d8a9f64d Address system tests' deprecation warnings with Gradle 8.12
See gh-43496
2025-01-02 15:35:41 +00:00
Phillip Webb
2fe1a93f58 Merge branch '3.3.x'
Closes gh-43506
2024-12-13 13:56:36 -08:00
Phillip Webb
fbf981ca0a Run PaketoBuilderTests on all JDK versions
Closes gh-43505
2024-12-13 13:56:12 -08:00
Phillip Webb
d83d34d111 Merge branch '3.3.x' 2024-11-15 14:26:28 -08:00
Phillip Webb
fe7f247018 Merge branch '3.2.x' into 3.3.x 2024-11-15 14:26:22 -08:00
Phillip Webb
7d1cc78d6b Retry on failed plainWar test
Add retry logic for plainWar in an attempt to deal with flaky Tomcat
downloads.
2024-11-15 14:24:32 -08:00
Moritz Halbritter
dbe50732e3 Merge branch '3.2.x' into 3.3.x
Closes gh-43161
2024-11-14 15:08:33 +01:00
Moritz Halbritter
4fc2aa1abf Remove workaround in GraalVM native Paketo Builder Test
Closes gh-40641
2024-11-14 15:08:07 +01:00
Moritz Halbritter
ba1a780147 Merge branch '3.3.x'
Closes gh-42774
2024-10-17 18:06:43 +02:00
Moritz Halbritter
73150b799a Merge branch '3.2.x' into 3.3.x
Closes gh-42772
2024-10-17 17:58:11 +02:00
Moritz Halbritter
ce106eb43c Remove calls to deprecated Project.getBuildDir() in Gradle files
Closes gh-42739
2024-10-17 17:46:17 +02:00
Phillip Webb
7fe7c61e7f Merge branch '3.3.x' 2024-09-27 12:18:11 -07:00
Phillip Webb
e086439e51 Merge branch '3.2.x' into 3.3.x 2024-09-27 12:18:06 -07:00
Phillip Webb
c347ccaa76 Attempt to fix system tests following repository updates
See gh-42333
2024-09-27 12:17:29 -07:00
Phillip Webb
8282a90268 Merge branch '3.3.x' 2024-09-27 10:34:32 -07:00
Phillip Webb
055064f16b Merge branch '3.2.x' into 3.3.x 2024-09-27 10:33:30 -07:00
Phillip Webb
9836011ffd Create extension to configure Spring maven repositories
Create a small Groovy script that can be used in `settings.gradle`
files to extend `repositories` to support the various maven
repositories required for our build.

See gh-42333
2024-09-27 10:30:20 -07:00
Phillip Webb
7b3077280c Merge branch '3.3.x'
Closes gh-42441
2024-09-24 14:32:48 -07:00
Phillip Webb
100bedc07d Merge branch '3.2.x' into 3.3.x
Closes gh-42440
2024-09-24 14:29:09 -07:00
Phillip Webb
ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07:00
Andy Wilkinson
1a4f5abb13 Merge branch '3.3.x'
Closes gh-42358
2024-09-18 14:58:35 +01:00
Andy Wilkinson
4a6793eab5 Merge branch '3.2.x' into 3.3.x
Closes gh-42357
2024-09-18 14:55:35 +01:00
Andy Wilkinson
1240c59482 Only configure plugin classpath where it's needed
When spring-boot-gradle-plugin is using GradleRunner, it needs to be
configured with a custom plugin classpath to account for the fact
that our Gradle plugin is on the classpath of the system classloader
but some of the other plugins would only be available on a
Gradle-created classloader. This imbalance cause class loading
problems as code in spring-boot-gradle-plugin can't see types at
runtime that are only available on the Gradle-created classloader.

To overcome this, we need to configure the GradleRunner with a custom
plugin classpath that contains both spring-boot-gradle-plugin and all
of the other plugins that are used in its various integration tests.
Previously, this was done in GradleBuild that's used by both
spring-boot-gradle-plugin and spring-boot-image-tests. This caused
a problem as spring-boot-image-tests does not have the
above-described problem and trying to correct it did not work leaving
tests that use spring-boot-gradle-plugin unable to see other plugins
such that the native image plugin.

This commit reworks the customization of the plugin classpath so that
it's only done in spring-boot-gradle-plugin's integration tests.

Closes gh-42338
2024-09-18 14:53:54 +01:00
Moritz Halbritter
9294c003b4 Remove setting BP_NATIVE_IMAGE
Closes gh-32884
2024-09-17 15:50:57 +02:00
Scott Frederick
ea544822f6 Merge branch '3.3.x' 2024-07-11 18:39:45 -05:00
Scott Frederick
d79ae11925 Fix formatting problem
See gh-41350
2024-07-11 18:39:33 -05:00
Scott Frederick
73294ba86c Merge branch '3.3.x'
Closes gh-41453
2024-07-11 17:47:40 -05:00
Scott Frederick
24dbee40ff Add CDS test case to Paketo system tests
Closes gh-41350
2024-07-11 17:47:05 -05:00
Scott Frederick
224b06982e Add support for untrusted CNB builders
A `trustBuilder` configuration option has been added to the Maven and
Gradle CNB integration image building goal and task. A known set of
builders published by Paketo, Heroku, and Google are trusted by default,
all other builders are untrusted by default.

Closes gh-41352
2024-07-11 13:51:54 -05:00
Scott Frederick
0fafb8d661 Merge branch '3.3.x'
Closes gh-41284
2024-07-01 13:41:24 -05:00
Scott Frederick
3a1f833706 Merge branch '3.2.x' into 3.3.x
Closes gh-41283
2024-07-01 13:41:00 -05:00
Scott Frederick
0898982a13 Ignore ca-certificates deprecation warnings in Paketo system tests
Closes gh-41282
2024-07-01 13:14:23 -05:00
Scott Frederick
26b59ae912 Use Paketo tiny builder by default for JVM and native apps
Closes gh-40859
2024-06-28 11:45:54 -05:00
Andy Wilkinson
28a887ad0f Raise minimum supported version of Gradle
Closes gh-41180
2024-06-21 14:52:22 +01:00
Andy Wilkinson
cf447e3aa6 Merge branch '3.2.x'
Closes gh-40931
2024-05-28 16:52:32 +01:00
Andy Wilkinson
5ee0580339 Upgrade to the latest Framework 6.0.x release
Closes gh-40929
2024-05-28 16:52:00 +01:00
Andy Wilkinson
df578d5616 Merge branch '3.2.x'
Closes gh-40805
2024-05-17 10:37:51 +01:00
Andy Wilkinson
c3e122d6ea Merge branch '3.1.x' into 3.2.x
Closes gh-40804
2024-05-17 10:37:27 +01:00
Andy Wilkinson
6be5dbc034 Disable system test that's broken due to a builder regression
0.4.292 of the builder launches an unpacked jar rather than the
script in bin. This only affects an image that uses the archive
generated by bootDistZip. An image that uses the archive generated
by distZip is not affected.

Closes gh-40803
2024-05-17 10:35:26 +01:00
Scott Frederick
0f8062f901 Merge branch '3.2.x'
Closes gh-40640
2024-05-08 12:16:44 -05:00
Scott Frederick
ed42ed7c43 Enable GraalVM native Paketo Builder Tests on Java 22
Closes gh-40639
2024-05-08 12:16:31 -05:00
Phillip Webb
f8a1dae835 Merge branch '3.2.x' 2024-02-21 15:27:57 -08:00
Phillip Webb
12de6aa46a Merge branch '3.1.x' into 3.2.x 2024-02-21 15:27:27 -08:00