Skip to content

Commit d9b323f

Browse files
GEODE-8321: part 3 - remove adoptopenjdk (apache#6457)
This is the final cleanup following successful conversion in Part 2 (apache#5474) (all three phases were 1: add liberica 2: switch 3: remove adoptopenjdk)
1 parent a393ac5 commit d9b323f

File tree

10 files changed

+0
-16
lines changed

10 files changed

+0
-16
lines changed

ci/images/google-geode-builder/scripts/setup.sh

-2
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,6 @@ DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
5959

6060
cp -R /etc/alternatives /etc/keep-alternatives
6161
apt-get install -y --no-install-recommends \
62-
openjdk-8-jdk \
63-
openjdk-11-jdk \
6462
bellsoft-java11 \
6563
bellsoft-java8
6664
rm -rf /etc/alternatives

ci/images/google-windows-geode-builder/packer.json

-4
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,6 @@
7777
"inline": [
7878
"$ErrorActionPreference = \"Stop\"",
7979
"Set-ExecutionPolicy Bypass -Scope Process -Force",
80-
"choco install -y git cygwin cyg-get adoptopenjdk11",
81-
"Move-Item \"C:\\Program Files\\AdoptOpenJDK\\jdk-11*\" c:\\java11-adoptopenjdk",
82-
"choco install -y jdk8 -params 'installdir=c:\\\\java8tmp;source=false'",
83-
"Move-Item \"C:\\java8tmp\" c:\\java8-adoptopenjdk",
8480
"choco install -y git cygwin cyg-get liberica11jdk",
8581
"Move-Item \"C:\\Program Files\\BellSoft\\LibericaJDK-11*\" c:\\java11",
8682
"choco install -y liberica8jdk",

ci/images/test-container/Dockerfile

-2
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,6 @@ RUN apt-get update \
5353
&& useradd --shell /bin/bash -u 93043 -o -c "" -m geode \
5454
&& cp -R /etc/alternatives /etc/keep-alternatives \
5555
&& apt-get install -y --no-install-recommends \
56-
openjdk-8-jdk \
57-
openjdk-11-jdk \
5856
java-common \
5957
bellsoft-java11 \
6058
bellsoft-java8 \

ci/scripts/execute_build.sh

-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,6 @@ else
8585
fi
8686

8787

88-
# SET_JAVA_HOME="export JAVA_HOME=/usr/lib/jvm/java-${JAVA_BUILD_VERSION}-openjdk-amd64"
8988
SET_JAVA_HOME="export JAVA_HOME=/usr/lib/jvm/bellsoft-java${JAVA_BUILD_VERSION}-amd64"
9089

9190
if [ -v CALL_STACK_TIMEOUT ]; then

ci/scripts/execute_build_examples.sh

-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ INSTANCE_IP_ADDRESS="$(cat instance-data/instance-ip-address)"
4646

4747
GEODE_VERSION=$(jq -r .semver geode-passing-tokens/*.json)
4848

49-
# SET_JAVA_HOME="export JAVA_HOME=/usr/lib/jvm/java-${JAVA_BUILD_VERSION}-openjdk-amd64"
5049
SET_JAVA_HOME="export JAVA_HOME=/usr/lib/jvm/bellsoft-java${JAVA_BUILD_VERSION}-amd64"
5150

5251
GRADLE_COMMAND="./gradlew \

ci/scripts/execute_publish.sh

-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ SSH_OPTIONS="-i ${SSHKEY_FILE} -o ConnectionAttempts=60 -o StrictHostKeyChecking
5858

5959
INSTANCE_IP_ADDRESS="$(cat instance-data/instance-ip-address)"
6060

61-
# SET_JAVA_HOME="export JAVA_HOME=/usr/lib/jvm/java-${JAVA_BUILD_VERSION}-openjdk-amd64"
6261
SET_JAVA_HOME="export JAVA_HOME=/usr/lib/jvm/bellsoft-java${JAVA_BUILD_VERSION}-amd64"
6362

6463
GRADLE_COMMAND="./gradlew \

ci/scripts/execute_tests.sh

-2
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ case $ARTIFACT_SLUG in
8181
SEP=";"
8282
;;
8383
*)
84-
# JAVA_BUILD_PATH=/usr/lib/jvm/java-${JAVA_BUILD_VERSION}-openjdk-amd64
85-
# JAVA_TEST_PATH=/usr/lib/jvm/java-${JAVA_TEST_VERSION}-openjdk-amd64
8684
JAVA_BUILD_PATH=/usr/lib/jvm/bellsoft-java${JAVA_BUILD_VERSION}-amd64
8785
JAVA_TEST_PATH=/usr/lib/jvm/bellsoft-java${JAVA_TEST_VERSION}-amd64
8886
SEP="&&"

ci/scripts/rsync_code_down.sh

-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ case $ARTIFACT_SLUG in
4747
del=";"
4848
;;
4949
*)
50-
# JAVA_BUILD_PATH=/usr/lib/jvm/java-${JAVA_BUILD_VERSION}-openjdk-amd64
5150
JAVA_BUILD_PATH=/usr/lib/jvm/bellsoft-java${JAVA_BUILD_VERSION}-amd64
5251
del="&&"
5352
;;

docker/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# FROM openjdk:8-jre-alpine
1817
FROM bellsoft/liberica-openjdk-alpine:8
1918

2019
# runtime dependencies

geode-assembly/Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17-
# FROM openjdk:11
1817
FROM bellsoft/liberica-openjdk-debian:11
1918
COPY geode /geode
2019
ENV GEODE_HOME="/geode"

0 commit comments

Comments
 (0)