Commit Graph

3704 Commits

Author SHA1 Message Date
Moritz Halbritter
f8b75073e8 Merge branch '3.4.x'
Closes gh-45449
2025-05-09 11:36:28 +02:00
Moritz Halbritter
84ed182f1c Merge branch '3.3.x' into 3.4.x
Closes gh-45448
2025-05-09 11:31:58 +02:00
Moritz Halbritter
3c57249a3e Use the layers index file to resolve the application layer name
Closes gh-45385
2025-05-09 11:31:06 +02:00
Phillip Webb
e3cf078fee Merge branch '3.4.x' 2025-05-08 12:25:34 -07:00
Phillip Webb
fa5d94fb4d Merge branch '3.3.x' into 3.4.x 2025-05-08 12:25:22 -07:00
Phillip Webb
39a402b5ef Update copyright year of changed files 2025-05-08 12:24:57 -07:00
Stéphane Nicoll
9d9b6f11c5 Merge branch '3.4.x'
Closes gh-45384
2025-05-07 10:38:28 +02:00
Stéphane Nicoll
e900e6f739 Merge branch '3.3.x' into 3.4.x
Closes gh-45383
2025-05-07 10:38:20 +02:00
Stéphane Nicoll
88107273f3 Polish "Test that source information is resolved from super class"
See gh-45382
2025-05-07 10:36:56 +02:00
Yanming Zhou
91715a8c7d Test that source information is resolved from super class
See gh-45382

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-05-07 10:36:41 +02:00
Andy Wilkinson
c8cf91ad6f Polish 2025-05-07 08:29:56 +01:00
Stéphane Nicoll
05e4262a25 Polish 2025-05-02 15:37:47 +02:00
Dmytro Nosan
439dd2299e Use serverUrl from the image as a fallback for the Credentials helper
Before this commit, the credential helper used the serverUrl from
the Map.Entry<String,Auth> as a fallback. However, the helper only uses
the email from the auths.

See gh-45345

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-05-02 15:13:35 +02:00
Dmytro Nosan
3f22d4b308 Align DockerRegistryConfigAuthentication with Docker CLI
See gh-45292

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-29 13:40:10 +02:00
Moritz Halbritter
14f9a1e67b Merge branch '3.4.x'
Closes gh-45330
2025-04-29 13:38:27 +02:00
Moritz Halbritter
66b255573d Merge branch '3.3.x' into 3.4.x
Closes gh-45329
2025-04-29 13:37:52 +02:00
Johnny Lim
9a0f7a4013 Add more tests for Image.getOs()
See gh-45305

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-29 13:35:22 +02:00
Dmytro Nosan
d1ee8bab48 Polish
See gh-45291

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-29 12:06:05 +02:00
Phillip Webb
736ff7e3e2 Merge branch '3.4.x' 2025-04-28 12:20:19 -07:00
Phillip Webb
f172c2ca8f Merge branch '3.3.x' into 3.4.x 2025-04-28 12:20:08 -07:00
Phillip Webb
b2e691be02 Update copyright year of changed files 2025-04-28 12:20:02 -07:00
Phillip Webb
ba690d24d4 Merge branch '3.4.x' 2025-04-28 12:18:40 -07:00
Phillip Webb
708062ec1d Merge branch '3.3.x' into 3.4.x 2025-04-28 12:15:47 -07:00
Phillip Webb
428fa6d941 Fix copyright headers to consistently start with project inception year 2025-04-28 12:15:32 -07:00
Andy Wilkinson
21a9732b59 Polish 2025-04-28 14:31:23 +01:00
Dmytro Nosan
e69de966b7 Trim "\x00" from a decoded Docker Registry password
See gh-45290

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-28 14:19:51 +02:00
Andy Wilkinson
c6045c3111 Merge branch '3.4.x'
Closes gh-45301
2025-04-25 15:53:18 +01:00
Andy Wilkinson
e47d87f54a Merge branch '3.3.x' into 3.4.x
Closes gh-45300
2025-04-25 15:53:09 +01:00
Andy Wilkinson
8869f769c1 Polish "Fix changelog generator missing directly removed properties"
See gh-45267
2025-04-25 15:51:29 +01:00
yybmion
30a679872c Fix changelog generator missing directly removed properties
The changelog generator did not detect properties that were added to a new
version with error-level deprecation (indicating immediate removal). This
commonly occurs when upgrading dependencies like Flyway 10, where properties
are removed without prior deprecation.

Modified the computeDifferences method to detect properties that only exist
in the new metadata with error-level deprecation and properly mark them as
DELETED in the changelog.

See gh-45267

Signed-off-by: yybmion <yunyubin54@gmail.com>
2025-04-25 15:48:24 +01:00
Andy Wilkinson
67d23d5ec4 Merge branch '3.4.x' 2025-04-25 14:38:57 +01:00
Andy Wilkinson
468a33e72a Merge branch '3.3.x' into 3.4.x 2025-04-25 14:38:36 +01:00
Andy Wilkinson
c420786eed Upgrade to Gradle 8.14 2025-04-25 14:33:32 +01:00
Phillip Webb
ef11a0849e Fix accidentally introduced Docker credential issues
Attempt to fix a few issues that were accidentally introduced
by missing some code from the original pull-request.

See gh-45269
2025-04-24 23:08:53 -07:00
Phillip Webb
79f7529efd Align credential helper logic with Docker CLI
See gh-45269
2025-04-24 22:45:15 -07:00
Dmytro Nosan
da61d63db8 Add Docker configuration authentication to Maven and Gradle plugins
Update the Maven and Gradle plugins to make use of the new Docker
configuration authentication support.

See gh-45269

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-04-24 21:56:14 -07:00
Dmytro Nosan
e6fbccef7e Support Docker configuration authentication including helper support
Add `DockerRegistryAuthentication` implementation that uses standard
Docker config to authenticate requests.

Prior to this commit, we only supported username/password and token
based authentication. This commit allows authentication based on
the contents of the Docker configuration file, including support
for executing credential helpers.

See gh-45269

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-04-24 21:54:08 -07:00
Phillip Webb
2a9e30a358 Polish 'Update DockerConfigurationMetadata to support credentials'
See gh-45269
2025-04-24 21:49:17 -07:00
Dmytro Nosan
958e28d890 Update DockerConfigurationMetadata to support credentials
Update `DockerConfigurationMetadata` with support for `credsStore`,
`credHelpers` and `auth` sections. These values will be required to
support credential helper based authentication.

See gh-45269

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-24 21:47:04 -07:00
Phillip Webb
dd49de03ee Relocate DockerConfiguration and refactor buildpack platform code
Relate `DockerConfiguration` from `...platform.docker` to
`...platform.build` since it contains build specific concepts.

This commit also refactors a few other areas of the code to make it
easier to support credential helpers in the future.

Closes gh-45283
2025-04-24 21:29:46 -07:00
Moritz Halbritter
0fb369e8b8 Use paketobuildpacks/builder-noble-java-tiny as the default image builder
Closes gh-42711
2025-04-24 15:21:22 +02:00
Phillip Webb
89a89a11a7 Merge branch '3.4.x'
Closes gh-45257
2025-04-22 19:13:29 -07:00
Phillip Webb
f526666e4e Merge branch '3.3.x' into 3.4.x
Closes gh-45256
2025-04-22 19:12:57 -07:00
Phillip Webb
f6dae1397d Add application directory layer to ephemeral builder for Podman support
Update `EphemeralBuilder` so that it adds an additional layer that
containing an empty application (aka workspace) directory owned by
the build user.

Prior to this commit, the directory was only bound. This could cause
issues on Podman where, unlike Docker, the bound directory is owned
by `root`.

Fixes gh-45233
2025-04-22 19:11:45 -07:00
Stéphane Nicoll
238d83b318 Merge branch '3.4.x'
Closes gh-45242
2025-04-21 08:33:20 +02:00
Stéphane Nicoll
00d68399a7 Merge branch '3.3.x' into 3.4.x
Closes gh-45241
2025-04-21 08:32:14 +02:00
Claudio Nave
6a997d1026 Fix documentation links to buildpacks.io
See gh-45238

Signed-off-by: Claudio Nave <evaristegalois11@proton.me>
2025-04-21 08:30:35 +02:00
Phillip Webb
4bbbc0d687 Merge branch '3.4.x'
Closes gh-45193
2025-04-14 16:18:50 -07:00
Phillip Webb
b80bdbb182 Merge branch '3.3.x' into 3.4.x
Closes gh-45192
2025-04-14 16:18:41 -07:00
Johnny Lim
08c67cc353 Replace deprecated Project.task()
See gh-45009

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-14 16:17:53 -07:00