Skip to content

Commit 9ce1872

Browse files
committed
Remove CentOS and Lucid Support
This change removes CentOS and Lucid support from the buildpack. [#101134432]
1 parent 6677165 commit 9ce1872

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

docs/extending-repositories.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ end
5555
| Variable | Description |
5656
| -------- | ----------- |
5757
| `{default.repository.root}` | The common root for all repositories. Currently defaults to `http://download.pivotal.io.s3.amazonaws.com`.
58-
| `{platform}` | The platform that the application is running on. Currently detects `centos6`, `lucid`, `mountainlion`, and `precise`.
58+
| `{platform}` | The platform that the application is running on. Currently detects `mountainlion`, `precise`, and `trusty`.
5959
| `{architecture}` | The architecture of the system as returned by Ruby. The value is typically one of `x86_64` or `x86`.
6060

6161
## Configuration
@@ -95,5 +95,5 @@ In addition to declaring a specific versions to use, you can also specify a boun
9595
[`config/repository.yml`]: ../config/repository.yml
9696
[`JavaBuildpack::Repository::ConfiguredItem`]: ../lib/java_buildpack/repository/configured_item.rb
9797
[Configuration and Extension]: ../README.md#configuration-and-extension
98-
[example]: http://download.pivotal.io.s3.amazonaws.com/openjdk/lucid/x86_64/index.yml
98+
[example]: http://download.pivotal.io.s3.amazonaws.com/openjdk/trusty/x86_64/index.yml
9999

docs/jre-open_jdk_jre.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ The JRE can be configured by modifying the [`config/open_jdk_jre.yml`][] file in
2424
| `memory_heuristics` | Default memory size weightings, described below under "Memory Weightings".
2525
| `memory_initials` | Initial memory sizes, described below under "Memory Initials".
2626
| `repository_root` | The URL of the OpenJDK repository index ([details][repositories]).
27-
| `version` | The version of Java runtime to use. Candidate versions can be found in the listings for [centos6][], [lucid][], [mountainlion][], and [precise][]. Note: version 1.8.0 and higher require the `memory_sizes` and `memory_heuristics` mappings to specify `metaspace` rather than `permgen`.
27+
| `version` | The version of Java runtime to use. Candidate versions can be found in the listings for [mountainlion][], [precise][], and [trusty][]. Note: version 1.8.0 and higher require the `memory_sizes` and `memory_heuristics` mappings to specify `metaspace` rather than `permgen`.
2828

2929
### Additional Resources
3030
The JRE can also be configured by overlaying a set of resources on the default distribution. To do this, add files to the `resources/open_jdk_jre` directory in the buildpack fork.
@@ -108,11 +108,10 @@ Termination is guaranteed since there is a finite number of memory types and in
108108

109109
[`config/open_jdk_jre.yml`]: ../config/open_jdk_jre.yml
110110
[Configuration and Extension]: ../README.md#configuration-and-extension
111-
[centos6]: http://download.pivotal.io.s3.amazonaws.com/openjdk/centos6/x86_64/index.yml
112111
[Java Buildpack Memory Calculator]: https://github.com/cloudfoundry/java-buildpack-memory-calculator
113-
[lucid]: http://download.pivotal.io.s3.amazonaws.com/openjdk/lucid/x86_64/index.yml
114112
[mountainlion]: http://download.pivotal.io.s3.amazonaws.com/openjdk/mountainlion/x86_64/index.yml
115113
[OpenJDK]: http://openjdk.java.net
116114
[precise]: http://download.pivotal.io.s3.amazonaws.com/openjdk/precise/x86_64/index.yml
117115
[repositories]: extending-repositories.md
116+
[trusty]: http://download.pivotal.io.s3.amazonaws.com/openjdk/trusty/x86_64/index.yml
118117
[version syntax]: extending-repositories.md#version-syntax-and-ordering

rakelib/package.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def self.version
3232

3333
BUILDPACK_VERSION = JavaBuildpack::BuildpackVersion.new(false).freeze
3434

35-
PLATFORMS = %w(centos6 lucid mountainlion precise trusty).freeze
35+
PLATFORMS = %w(mountainlion precise trusty).freeze
3636

3737
STAGING_DIR = "#{BUILD_DIR}/staging".freeze
3838

0 commit comments

Comments
 (0)