Commit Graph

106 Commits

Author SHA1 Message Date
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 4fc2aa1abf Remove workaround in GraalVM native Paketo Builder Test
Closes gh-40641
2024-11-14 15:08:07 +01: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 c347ccaa76 Attempt to fix system tests following repository updates
See gh-42333
2024-09-27 12:17:29 -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 ad72411e2b Apply conventions plugin to all subprojects
Closes gh-42438
2024-09-24 14:26:32 -07: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
Scott Frederick 0898982a13 Ignore ca-certificates deprecation warnings in Paketo system tests
Closes gh-41282
2024-07-01 13:14:23 -05: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 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 ed42ed7c43 Enable GraalVM native Paketo Builder Tests on Java 22
Closes gh-40639
2024-05-08 12:16:31 -05:00
Phillip Webb 12de6aa46a Merge branch '3.1.x' into 3.2.x 2024-02-21 15:27:27 -08:00
Phillip Webb 2c4909a89a Update copyright year of changed files 2024-02-21 13:58:53 -08:00
Andy Wilkinson 71abc9d6b7 fixup! Upgrade to Testcontainers 1.19.5 2024-02-14 18:58:19 +00:00
Scott Frederick 2ef6b42432 Merge branch '3.1.x' into 3.2.x
Closes gh-39511
2024-02-11 13:04:56 -06:00
Scott Frederick c64b1d12f2 Ignore syft deprecation warnings in Paketo system tests
Closes gh-39510
2024-02-11 13:04:43 -06:00
Andy Wilkinson 5ae533a00d Minimize scope of version management for commons-compress
See gh-39368
2024-02-06 15:08:15 +00:00
Andy Wilkinson 899da7891a Merge branch '3.1.x' into 3.2.x
See gh-39340
2024-01-31 17:44:07 +00:00
Andy Wilkinson dd082c6c21 Revert "Upgrade to Commons Compress 1.25.0"
This reverts commit 1c2a622f7f.

See gh-39148
2024-01-31 17:35:57 +00:00
Andy Wilkinson 8c18d75b12 Merge branch '3.1.x' into 3.2.x
Closes gh-39340
2024-01-30 13:50:13 +00:00
Andy Wilkinson 1c2a622f7f Upgrade to Commons Compress 1.25.0
Closes gh-39148
2024-01-30 13:49:37 +00:00
Scott Frederick 35eba69996 Merge branch '3.1.x'
Closes gh-38759
2023-12-12 15:43:10 -06:00
Scott Frederick 823054f543 Allow native spring-boot-image-tests to run without an existing snapshot
Closes gh-38757
2023-12-12 15:42:37 -06:00
Johnny Lim b5d4983829 Polish
See gh-37984
2023-10-23 11:15:27 +02:00
Scott Frederick 361f737086 Fix launcher path in Paketo system tests
See gh-37667
2023-10-04 13:33:24 -05:00
Phillip Webb c22548982a Relocate launcher classes
Create alternative launcher classes under the package
`org.springframework.boot.loader.launch` and use them in favor
of the previous location.

This update is designed to improve compatibility with future
changes in the loader.

Closes gh-37667
2023-10-03 14:53:04 -07:00
Scott Frederick 9004966353 Merge branch '3.1.x' 2023-09-26 19:10:01 -05:00
Scott Frederick bfc034f9e9 Merge branch '3.0.x' into 3.1.x 2023-09-26 19:09:54 -05:00
Scott Frederick e8a15327da Fix formatting 2023-09-26 19:09:37 -05:00
Scott Frederick 7c23c0b3c2 Merge branch '3.1.x' 2023-09-26 18:51:03 -05:00
Scott Frederick 5ae4ba83a7 Merge branch '3.0.x' into 3.1.x 2023-09-26 18:19:48 -05:00
Scott Frederick 7e29a3c70b Use latest available Gradle version for Paketo system tests
This ensures that the tests will run with the latest Java versions.

See gh-37507
2023-09-26 18:19:25 -05:00
Scott Frederick 845c4dd057 Merge branch '3.1.x'
Closes gh-37556
2023-09-22 14:24:14 -05:00
Scott Frederick 742dae5c3f Merge branch '3.0.x' into 3.1.x
Closes gh-37555
2023-09-22 14:24:06 -05:00
Scott Frederick d57f9b8643 Enable Paketo Builder Tests on Java 21
Closes gh-37507
2023-09-22 14:23:27 -05:00
Scott Frederick c5e221143f Ignore AOT-related deprecation warnings in Paketo system tests
Closes gh-37433
2023-09-21 12:33:02 -05:00
Scott Frederick 63a891790c Merge branch '3.0.x' into 3.1.x
Closes gh-37518
2023-09-21 12:14:20 -05:00
Scott Frederick e5e04d9fbc Merge branch '2.7.x' into 3.0.x
Closes gh-37517
2023-09-21 12:05:00 -05:00
Scott Frederick bd855135b0 Use Paketo Jammy builder in Paketo system tests
Closes gh-37516
2023-09-21 11:56:35 -05:00
Scott Frederick 7d019c612e Merge branch '3.1.x' 2023-06-28 15:12:06 -06:00
Scott Frederick c2146deeda Merge branch '3.0.x' into 3.1.x 2023-06-28 15:11:58 -06:00
Scott Frederick 80e72836ef Disable Paketo builder native system test on Java 20
See gh-35897
2023-06-28 15:11:32 -06:00
Andy Wilkinson ca5bd37e81 Upgrade to Spring Framework 6.1.0-M1
Closes gh-35977
Closes gh-35980
2023-06-19 18:12:16 +01:00
Phillip Webb baddf4c857 Merge branch '3.0.x' into 3.1.x 2023-06-16 13:54:01 -07:00
Phillip Webb 0fd1c89889 Polish 2023-06-16 13:53:33 -07:00
Scott Frederick aafaf0fab9 Merge branch '3.0.x' into 3.1.x
Closes gh-35898
2023-06-14 15:49:21 -05:00
Scott Frederick 244bf4801b Enable Paketo builder system tests on Java 20
Closes gh-35897
2023-06-14 15:49:07 -05:00
Scott Frederick 779ac09417 Merge branch '3.0.x' into 3.1.x
Closes gh-35895
2023-06-14 13:49:54 -05:00
Scott Frederick 504d9fc50b Fix validation of process args metadata in Paketo system tests
Fixes gh-35894
2023-06-14 13:49:11 -05:00