Johnny Lim
bc7fc90550
Replace Base64Utils with JDK's Base64
...
See gh-33967
3 years ago
Krzysztof Krason
d3efd7e091
Use try with close
...
See gh-33987
3 years ago
Krzysztof Krason
a9c547e767
Use text blocks
...
See gh-33987
3 years ago
Krzysztof Krason
6e46423983
Use diamond operators
...
See gh-33987
3 years ago
Scott Frederick
1588f9d881
Migrate buildpack-platform to Apache HttpClient 5
...
Closes gh-33533
3 years ago
Phillip Webb
a2ac38e203
Update copyright year of changed files
3 years ago
Krzysztof Krason
cf6493f65c
Simplify AssertJ assertions and also make them more readable
...
See gh-33653
3 years ago
Phillip Webb
f588793445
Update copyright year of changed files
3 years ago
Moritz Halbritter
f36e2ecb7b
Use AutoClosables with try-with-resources
...
Closes gh-33538
3 years ago
Moritz Halbritter
725337f976
Make fields final
...
Closes gh-33537
3 years ago
Scott Frederick
bb684cc0ad
Add support for CNB platform API 0.10
...
Fixes gh-32949
3 years ago
Phillip Webb
e0c79ce598
Support PEM formatted elliptic-curve TLS keys
...
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.
Fixes gh-32646
3 years ago
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
3 years ago
dreis2211
65ef8fc51a
Use ByteArrayOutputStream.toString where possible
...
See gh-32534
3 years ago
Scott Frederick
257e236b06
Fix image-building unit tests on Windows
...
See gh-32000
4 years ago
Scott Frederick
c16094e04b
Disable SELinux label security policy when building images
...
When using the Gradle `bootBuildImage` task or Maven
`spring-boot:build-image` goal on a Linux distribution with SELinux
enabled, binding the Docker socket in the builder container might
fail. This commit disables the `label` security policy in the builder
container to prevent this type of failure.
Fixes gh-32000
4 years ago
Phillip Webb
22144987e9
Update copyright year of changed files
4 years ago
Phillip Webb
f8412847dc
Update copyright year for "Fix typos in code and documentation"
...
See gh-31734
4 years ago
Marc Wrobel
dbfc6bded4
Fix typos in code and documentation
...
See gh-31734
4 years ago
Phillip Webb
4bcec6e0ee
Polish
4 years ago
Scott Frederick
f9cf31e59e
Fix compile errors
...
See gh-28844
4 years ago
Scott Frederick
9b0cdac58a
Simplify support for pushing images to unauthenticated registries
...
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.
Fixes gh-28844
4 years ago
Scott Frederick
17bdc526f6
Avoid adding layers for buildpacks that exist in the builder
...
This commit adds validation of any buildpacks that are specified for
image building to match them against buildpacks that are bundled in
the builder. If an image buildpack's ID, version, and one layer
hash match the same information stored in a label on the builder
image, that buildpack won't be added and the buildpack bundled in
the builder will be used instead. This reduces the chance of adding to
the total count of layers in a builder image unnecessarily.
Fixes gh-31233
4 years ago
dreis2211
458f989cf3
Use switch expressions where appropriate
...
See gh-31527
4 years ago
Andy Wilkinson
f49b16c645
Upgrade to Spring Java Format 0.0.34
...
Closes gh-31524
4 years ago
dreis2211
cc91009b70
Use java.util.HexFormat where appropriate
...
See gh-31477
4 years ago
dreis2211
5db04da275
Use pattern matching for instanceof where appropriate
...
See gh-31475
4 years ago
dreis2211
fb45fc4819
Use Files.writeString() and Files.readString() where possible
...
See gh-31459
4 years ago
Andy Wilkinson
3d203d0215
Polish
4 years ago
Andy Wilkinson
ee45fd2fc8
Remove redundant throws declarations from internal APIs
...
Closes gh-31176
4 years ago
Andy Wilkinson
4fd2e0c916
Polish "Fix typos"
...
See gh-30773
4 years ago
Andy Wilkinson
f6d24dc1a8
Fix typos
...
See gh-30773
4 years ago
Phillip Webb
dd5696b59b
Update copyright year of changed files
4 years ago
Scott Frederick
f032690d0a
Add support for CNB platform API 0.9
...
Fixes gh-30566
4 years ago
Scott Frederick
de321b00b7
Support podman for building images
...
Closes gh-30196
4 years ago
Scott Frederick
7ad538cd84
Add option to use configured Docker host in builder
...
This commit adds support for a `docker.bindHostToBuilder` option in
the Maven and Gradle image building goal and task.
Fixes gh-29384
4 years ago
Phillip Webb
9ab1b669d0
Polish
4 years ago
Moritz Halbritter
262db65a38
Ignore invalid stream types when reading log update events
...
See gh-29675
4 years ago
Phillip Webb
2b40ce09d8
Update copyright year of changed files
4 years ago
Stephane Nicoll
7f17f819a6
Polish "Enforce use of BDDMockito"
...
See gh-29178
4 years ago
Yanming Zhou
b49418aaaf
Enforce use of BDDMockito
...
1. Replace Mockito.verify*() with BDDMockito.then()
2. Replace Mockito.doReturn() with BDDMockito.willReturn()
3. Adjust checkstyle rule
See gh-29178
4 years ago
Scott Frederick
000cbfa2d9
Set file permissions on all created test files
...
Closes gh-29551
4 years ago
Scott Frederick
b0b2cd79b4
Use latest buildpack image tag when no tag is provided
...
Fixes gh-28921
4 years ago
Scott Frederick
5f14cffea3
Add support for CNB platform API 0.5 through 0.8
...
Fixes gh-28850
4 years ago
Andy Wilkinson
2cec3971d7
Prohibit unwanted dependencies in all modules not just starters
...
Closes gh-28658
4 years ago
Stephane Nicoll
9241f228d5
Add .gitattributes
...
Closes gh-28474
4 years ago
Stephane Nicoll
66553ac8c7
Add .gitattributes
...
Closes gh-28473
4 years ago
Stephane Nicoll
1b3f52d609
Harmonize line endings
...
See gh-27615
4 years ago
Scott Frederick
871468931f
Polish "Add option to customize cache volume names when building an image"
...
See gh-28292
4 years ago
Julian Liebig
dc36346285
Add option to customize cache volume names when building an image
...
This commit adds configuration to the Maven and Gradle plugins to
allow specifying the names of build and launch cache volumes provided
to the CNB builder.
See gh-28292
4 years ago