3501 Commits

Author SHA1 Message Date
Phillip Webb
0ec15c8f9b Merge branch '3.3.x' into 3.4.x
Closes gh-44055
2025-02-03 19:44:33 -08:00
Phillip Webb
80e8ab8779 Support commercial repositories in effective BOM and Ivy
Update `BomExtension` to resolve '{spring.mavenRepositories}' and add
credentials to `ivysettings.xml` and `settings.xml`.

Closes gh-44050
2025-02-03 18:22:53 -08:00
Andy Wilkinson
86818b0e45 Ensure that junit-platform-launcher is on classpath
When testing with Gradle 7.6, junit-platform-launcher won't be
on the test runtime classpath unless it's declared as a dependency.
When testing with Gradle 8.x the dependency is added implicitly but
starting with Gradle 8.3 relying on this will result in a warning.

When junit-platform-launcher is absent, a failure occurs when testing
with Gradle as the class loader structure is such that JUnit tries
to load any test execution listeners, finds the listener declared in
spring-boot-actuator-autoconfigure but cannot then load the
implemented TestExecutionListener interface.

This problem is addressed by augmenting the component metadata for
spring-boot-starter-test to add a dependency on
junit-platform-launcher. This addresses the problem with
spring-boot-actuator-autoconfigure while also addressing a warning
with Gradle 8.3+.

Closes gh-43340
2025-01-17 16:01:41 +00:00
Phillip Webb
d44f4b56d3 Merge branch '3.3.x' into 3.4.x 2025-01-08 15:45:54 -08:00
Andy Wilkinson
ca3fbb26a2 Mention system libraries as a reason not to use tiny builder
Closes gh-43716
2025-01-08 10:07:05 +00:00
Andy Wilkinson
f3c70a7af4 Consistently document the minimum supported versions of Gradle
Closes gh-43725
2025-01-08 09:09:36 +00:00
Dmytro Nosan
b6b9237f2c Reset StatusLogger fallback listener stream on initialization
Update `Log4J2LoggingSystem` so that the `StatusLogger` fallback
listener has its print stream reset on each initialization. This
allows output capture to work with the status listener.

Fixes gh-43578

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-01-06 17:58:21 -08:00
Andy Wilkinson
51d15c7c78 Merge branch '3.3.x'
Closes gh-43649 in 3.4.x
Closes gh-43651
2025-01-02 12:22:59 +00:00
Andy Wilkinson
d8a9ebd14b Upgrade to Gradle 8.12
Closes gh-43649
2025-01-02 12:05:14 +00:00
Andy Wilkinson
734040abe2 Update Gradle test scripts to avoid warnings with 8.12
Closes gh-43496
2025-01-02 12:05:14 +00:00
Stéphane Nicoll
9f8a6bba63 Merge branch '3.3.x'
Closes gh-43626
2024-12-29 10:30:30 +01:00
Johnny Lim
b8abfb8c9b Remove MavenBuildOutputTimestampTests.shouldParseIso8601WithSeconds()
See gh-43625
2024-12-29 10:30:09 +01:00
Stéphane Nicoll
a2cd1f0040 Merge branch '3.3.x' 2024-12-28 10:27:12 +01:00
Stéphane Nicoll
8fbd14b4dd Polish 2024-12-28 10:27:01 +01:00
Stéphane Nicoll
3e39b0256d Merge branch '3.3.x'
Closes gh-43617
2024-12-26 16:08:26 +01:00
Stéphane Nicoll
7e9fda8216 Polish "Preserve milliseconds in build info timestamp"
See gh-43612
2024-12-26 15:58:09 +01:00
Gaurav
0944b07c90 Preserve milliseconds in build info timestamp
See gh-43612
2024-12-26 15:52:08 +01:00
Chris Bono
02f748bd2d Update version of Pulsar test container image
This commit updates the version of the Pulsar container from 3.2.4 to
3.3.3 (the recommended version in the Spring Boot 3.4.x line).

See gh-43534
2024-12-16 16:09:55 -08:00
Phillip Webb
54b96c86ce Merge branch '3.3.x'
Closes gh-43526
2024-12-16 10:44:33 -08:00
Phillip Webb
239fa0356f Remove trailing slashes from all link URLs
Closes gh-43518
2024-12-16 10:44:20 -08:00
Stéphane Nicoll
cc877987a4 Merge branch '3.3.x'
Closes gh-43519
2024-12-16 10:42:55 +01:00
Tran Ngoc Nhan
7832d3be73 Fix typo
See gh-43512
2024-12-16 10:42:22 +01:00
Phillip Webb
4d6fc85c8e Merge branch '3.3.x' 2024-12-13 19:03:48 -08:00
Phillip Webb
45da43c6b4 Update copyright year of changed files 2024-12-13 19:03:43 -08:00
Johnny Lim
4d15ee5bf0 Polish
See gh-43498
2024-12-13 13:29:20 -08:00
Phillip Webb
123502b8d7 Restore use of fixed version when calling docker APIs
Update `DockerApi` so that calls are made using a fixed version. For
most calls this will be `v1.24`, however, for calls with a platform
we must use the `v1.41`.

When possible, we check that the Docker version in use meets the
required minimum, however, if we can't detect the running version
we now proceed and let the actual API call fail. This is due to the
fact that the `/_ping` endpoint may not always be available. For
example, it is restricted when building from a BitBucket CI pipeline.

Fixes gh-43452
2024-12-10 13:14:20 -08:00
Phillip Webb
e394cadc48 Merge branch '3.3.x'
Closes gh-43436
2024-12-06 19:01:30 -08:00
Phillip Webb
f21402d4c3 Consistently return non-zero exit codes for jarmode failures
Update jar mode launchers to catch all exceptions and return a non-zero
exit code. This refinement also allows us to consolidate the existing
error reporting logic to a central locations. Modes that wish to report
a simple error rather than a full stacktrace can throw the newly
introduced `JarModeErrorException`.

Fixes gh-43435
2024-12-06 19:00:50 -08:00
Moritz Halbritter
4dca6ee5d3 Polish "Only set imagePlatform if it has text"
See gh-43424
2024-12-05 11:03:14 +01:00
Leonid Bogdanov
fe1f9b3002 Only set imagePlatform if it has text
See gh-43424
2024-12-05 10:59:17 +01:00
Phillip Webb
916efb632c Merge branch '3.3.x' 2024-12-04 15:04:22 -08:00
Phillip Webb
9e7972a9b4 Polish code with code cleanup rules 2024-12-04 15:03:40 -08:00
Phillip Webb
dd64b0648f Merge branch '3.3.x'
Closes gh-43356
2024-12-02 13:59:53 -08:00
Phillip Webb
0afbc0b23c Polish 'Accept Docker progress on numbers >2GB'
Restore `int` returns for existing methods and deprecate them in
favor of a new `asPercentage()` method.

See gh-43328
2024-12-02 13:58:03 -08:00
Wolfgang Kronberg
d8565185e8 Accept Docker progress on numbers >2GB
Update `ProgressUpdateEvent` to support images of a file size
>2GB without provoking build failures.

See gh-43328
2024-12-02 13:56:09 -08:00
Stéphane Nicoll
615b199364 Update copyright year of changed file
See gh-43316
2024-11-29 10:35:12 +01:00
Johnny Lim
859c235a95 Polish
See gh-43316
2024-11-29 10:35:11 +01:00
Andy Wilkinson
32433e84f3 Merge branch '3.3.x'
Closes gh-43270
2024-11-22 15:46:38 +00:00
Andy Wilkinson
bb3651b7d1 Reduce warnings reported by Eclipse
Closes gh-43269
2024-11-22 15:39:35 +00:00
Andy Wilkinson
3bff418df9 Merge branch '3.3.x'
Closes gh-43267
2024-11-22 11:59:19 +00:00
Andy Wilkinson
cf1dadf2e7 Stop publishing CLI's Homebrew formula in commercial builds
Closes gh-43247
2024-11-22 11:58:50 +00:00
Phillip Webb
f77c3bbd6b Merge branch '3.3.x'
Closes gh-43171
2024-11-14 15:50:15 -08:00
Phillip Webb
66ec6b32e3 Merge branch '3.2.x' into 3.3.x
Closes gh-43170
2024-11-14 15:50:04 -08:00
Phillip Webb
25b6477aa8 Support alternative media type format
Update `ExportedImageTar` media type detection to support `tar+gzip`
as well as `tar.gzip`. Recent updates to Docker Desktop appear to have
changed the format.

Fixes gh-43126
2024-11-14 15:25:15 -08:00
Phillip Webb
a293560237 Support nested OCI indexes
Update `ExportedImageTar.IndexLayerArchiveFactory` to support nested
indexes. Nested indexes support a layer of interaction where the
`index.json` file points to a blob that contains the read index to use.

Prior to this commit, we only supported indexes provided directly by
the `index.json` file. This missing support results in "buildpack.toml:
no such file or directory" errors when referencing specific buildpacks
and using Docker Engine 27.3.1 or above.

See gh-43126
2024-11-14 15:24:47 -08:00
Moritz Halbritter
0d6bd6c152 Merge branch '3.3.x'
Closes gh-43141
2024-11-13 14:54:59 +01:00
Moritz Halbritter
6f52739c32 Merge branch '3.2.x' into 3.3.x
Closes gh-43140
2024-11-13 14:41:45 +01:00
Moritz Halbritter
3b0fec6d00 Upgrade build to Gradle 8.11
Closes gh-43136
2024-11-13 14:36:08 +01:00
Andy Wilkinson
c6e19517be Merge branch '3.3.x'
Closes gh-43070
2024-11-08 09:55:36 +00:00
Andy Wilkinson
81872afd53 Merge branch '3.2.x' into 3.3.x
Closes gh-43069
2024-11-08 09:55:22 +00:00