Commit Graph
53 Commits
Author SHA1 Message Date
Phillip Webb 4cdd2015e7 Merge branch '4.0.x' into 4.1.x 2026-08-26 10:45:35 -07:00
Phillip Webb a1cc95e8a6 Polish gradle dependency declarations
Remove 'path:' prefix when possible.
2026-08-26 10:39:28 -07:00
Andy Wilkinson 67d7523f52 Account for length of Gradle version when relocating test kit dir 2026-08-25 09:26:59 +01:00
Phillip Webb dfbda6fd13 Polish 2026-08-24 19:09:56 -07:00
Andy Wilkinson ec28f8b530 Merge branch '4.0.x' into 4.1.x
Closes gh-51428
2026-08-24 15:24:59 +01:00
Andy Wilkinson ee059ae3ca Add CI for Java 27
Closes gh-51423
2026-08-24 14:52:36 +01:00
Andy Wilkinson edc6fa3f28 Use temp directory when path of build directory is too long
Some gRPC-related tests fail on Windows when the path becomes too
long. The failure is somewhat cryptic:

> protoc: stdout: . stderr: --grpc_out: protoc-gen-grpc: The system cannot find the path specified.

The failure occurs when the path to the protoc-gen-grpc-java
executable gets too long. Our Gradle plugin's tests configure
TestKit to use a directory beneath spring-boot-gradle-plugin/build
and this can result in the path being too long.

This commit updates GradleBuild to use a directory beneath
java.io.tmpdir when the tests are running on Windows and the
absolute path of spring-boot-gradle-plugin/build 80 characters or
more in length.

Closes gh-51169
2026-07-31 13:16:06 +01:00
Stéphane Nicoll 1f43bb3b4f Merge branch '4.0.x'
Closes gh-50946
2026-07-14 15:44:39 +02:00
Stéphane Nicoll eb621439bc Harmonize Gradle versions used for testing on Java 26
Closes gh-50945
2026-07-14 15:44:03 +02:00
Stéphane Nicoll aa34fbb4b6 Merge branch '4.0.x'
Closes gh-50616
2026-05-29 12:18:46 +02:00
Stéphane Nicoll 2e825ba6c9 Merge branch '3.5.x' into 4.0.x
Closes gh-50615
2026-05-29 12:08:53 +02:00
Andy Wilkinson 6a74bb85a3 Merge branch '4.0.x'
Closes gh-50440
2026-05-14 15:03:44 +01:00
Andy Wilkinson add52b6ccd Merge branch '3.5.x' into 4.0.x
Closes gh-50439
2026-05-14 15:02:24 +01:00
Andy Wilkinson b23f3b6cd1 Merge branch '4.0.x'
Closes gh-50436
2026-05-14 14:15:32 +01:00
Andy Wilkinson 549935c6b8 Test against Gradle 8.14.5
Closes gh-50374
2026-05-14 14:15:03 +01:00
itsmevichu 1b712e0434 Add support for docker.elastic.co/elasticsearch/elasticsearch
See gh-50119

Signed-off-by: itsmevichu <vishnutheep@gmail.com>
2026-04-20 08:51:50 +02:00
onobc 85af0d645d Upgrade to Pulsar 4.2.0
This commit updates the managed version of Pulsar from
`4.1.3` to `4.2.0` and the test image version from
`3.3.3` to `4.2.0`.

Since Pulsar `4.2.0` standalone mode advertises the container's FQDN
(the container ID) instead of localhost. The Pulsar client reconnects
to the advertised address during servicediscovery, but is unable to
reach the FQDN. Therefore, this also sets the `advertisedAddress`
on the Pulsar testcontainers used by the tests.

See gh-49900

Signed-off-by: onobc <chris.bono@gmail.com>
2026-04-07 06:43:03 +02:00
Stéphane Nicoll 1519bcf1e2 Polish "Add support for additional Homebrew home on macOS"
See gh-49721
2026-04-03 16:19:47 +02:00
1233day 2d4c235522 Add support for additional Homebrew home on macOS
Add /opt/homebrew/bin as an additional macOS fallback location when
starting external processes.

The previous fallback assumed /usr/local/bin only, which can fail on
Apple Silicon Homebrew setups in restricted PATH environments (for
example, IDE or UI-launched processes).

Update CredentialHelperTests to verify both macOS fallback paths are
attempted.

See gh-49721

Signed-off-by: 1233day <1233day@naver.com>
2026-04-03 13:32:45 +02:00
Moritz Halbritter 09ece896a5 Merge branch '4.0.x'
Closes gh-49870
2026-04-02 11:16:36 +02:00
Moritz Halbritter d437c11761 Merge branch '3.5.x' into 4.0.x
Closes gh-49869
2026-04-02 11:12:20 +02:00
Moritz Halbritter dc375134f9 Merge branch '4.0.x'
Closes gh-49867
2026-04-02 10:47:07 +02:00
Moritz Halbritter 4f47202910 Merge branch '3.5.x' into 4.0.x
Closes gh-49866
2026-04-02 10:46:26 +02:00
Stéphane Nicoll f728235906 Revert "Introduce Generic AMQP 1.0 client support"
This reverts commit 8dde82b557, c388dc92
5b7f0f726b, and
2d71ef94ed.

See gh-49621
2026-03-20 11:02:35 +01:00
Stéphane Nicoll c388dc92f1 Add AMQP 1.0 client auto-configuration
This commit adds auto-configuration for the generic AMQP 1.0 client
in Spring AMQP 4.1, using Qpid ProtonJ. The auto-configuration provides
an AmqpConnectionFactory as well as an AmqpClient with standard
customizer callbacks. The "spring.amqp" namespace exposes settings to
connect to an AMQP 1.0 compliant broker. Docker compose and
testcontainers support using RabbitMQ have been added too.

Closes gh-49621
2026-03-19 15:46:47 +01:00
Andy Wilkinson e6ba227e53 Merge branch '4.0.x'
Closes gh-49427
2026-03-05 11:01:19 +00:00
Andy Wilkinson 9e2d446dfe Merge branch '3.5.x' into 4.0.x
Closes gh-49426
2026-03-05 11:00:44 +00:00
Andy Wilkinson 34c7cfa00c Merge branch '4.0.x'
See gh-49192
2026-02-11 14:25:41 +00:00
Andy Wilkinson b213d4d296 Use Gradle 9.4 when testing with Java 26
See gh-49189
2026-02-11 14:25:11 +00:00
Andy Wilkinson 3d6671d47a Merge branch '4.0.x'
Closes gh-48701
2026-01-08 12:14:50 +00:00
Andy Wilkinson 0ffffee4bf Upgrade to Nullability Plugin 0.0.9
Closes gh-48638
2026-01-08 11:59:51 +00:00
Stefano Cordio b2b0fed285 Decorate all Assert implementations with @CheckReturnValue
See gh-46766

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2025-12-19 10:39:37 +01:00
Andy Wilkinson 0e44f1de42 Merge branch '3.5.x' 2025-11-10 10:39:32 +00:00
Moritz Halbritter fd7f5c5abc Rename TestImage.OPENTELEMETRY to OTEL_COLLECTOR
Closes gh-47956
2025-11-05 12:19:29 +01:00
Andy Wilkinson 1ab93be650 Upgrade to Gradle 9.2.0
Closes gh-47875
2025-10-30 10:33:44 +00:00
Stéphane Nicoll 7bde0e65f1 Fix typos
Closes gh-47818
2025-10-27 14:55:39 +01:00
Stéphane Nicoll d1ae453824 Restore support of deprecated containers
This commit restore the service connection support for Testcontainers
implementations that were deprecated as part of TC 2.0. Previously,
only the new location was taken into account.

Closes gh-47796
2025-10-24 17:51:06 +02:00
Eddú Meléndez 7f64615690 Upgrade to Testcontainers 2.0.1
* Update dependencies name
  Modules are prefixed with `testcontainers-`
* Update container classes
  Container classes are under `org.testcontainers.<module-name>` package

See gh-47664

Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
2025-10-17 17:11:24 +02:00
Dmytro Nosan bc2ca5b9fc Extend ArchitectureCheck with NullMarkedExtension
Introduce NullMarkedExtension for ArchitectureCheck, which provides
functionality to configure packages to ignore in nullability checks and
to enable or disable the extension.

See gh-47596

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-10-15 08:23:47 +02:00
Andy Wilkinson 44099d3d21 Build with Gradle 9.1.0 2025-10-06 18:30:48 +01:00
Andy Wilkinson 92fe4c55f7 Resolve MariaDB and MySQL dialects through DB query
Spring Data JDBC has deprecated its INSTANCE constants in its MariaDB
and MySQL dialects as the required configuration for the dialect
varies depending on the configuration of the DB.

This commit adapts to this deprecation by changing Boot's
DataJdbcDatabaseDialect to resolve the underlying dialect through a
DB query for its MARIA and MYSQL values.

Closes gh-46062
2025-10-03 09:37:56 +01:00
Moritz Halbritter 4c8cabcb3a Upgrade to JUnit Jupiter 6.0.0
Closes gh-47383
2025-10-02 14:20:04 +02:00
Andy Wilkinson 8d87586395 Merge branch '3.5.x'
Closes gh-47296
2025-09-22 11:05:13 +01:00
Phillip Webb c1d51f8687 Remove Bitnami support
Closes gh-47267
2025-09-18 14:41:16 -07:00
Andy Wilkinson 4761e13228 Upgrade Neo4j test image to 5.26.11
See gh-47002
2025-09-01 09:49:28 +01:00
Andy Wilkinson 37342aff69 Merge branch '3.5.x'
Closes gh-46923
2025-08-20 11:32:02 +01:00
Andy Wilkinson f4fd2126bb Raise the minimum supported version of Gradle to 8.14 and support 9.x
Closes gh-43573
Closes gh-43574
2025-08-19 11:11:06 +01:00
Andy Wilkinson 8c356b3fc1 Merge branch '3.5.x'
Closes gh-46903
2025-08-19 08:41:17 +01:00
Moritz Halbritter c211b88594 Check for @NullMarked on packages
Projects which don't have JSpecify nullability annotations can opt out
by using

architectureCheck {
	nullMarked = false
}

in their build.gradle script.

See gh-46587
2025-08-13 13:27:48 +02:00
Andy Wilkinson 2f3f60e736 Correct the path used to refer to spring-boot-test-support 2025-07-22 12:00:20 +01:00