Remove OpenJDK 9 from CentOS image builds 54/12454/4
authorThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 4 Sep 2018 22:26:23 +0000 (18:26 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Tue, 4 Sep 2018 22:42:13 +0000 (18:42 -0400)
This currently breaks everyone trying to use a CentOS 7 builder as
the repo seems to have disappeared since August 23rd, 2018 (last
known time it worked in OpenDaylight).

This breaks everyone so disable it until we have a new solution to
get OpenJDK 9 installed on CentOS 7 systems.

Officially RedHat (Ref) has stated that they are skipping support
of OpenJDK 9 and 10 and will support 11. We should probably follow
their lead on this one.

Ref: https://access.redhat.com/articles/1299013
Issue: RELENG-1175
Change-Id: Ief7710b6469833423156c9695681379b12d349cb
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
tasks/RedHat.yml

index 96d38a7..e31fde0 100644 (file)
@@ -3,25 +3,6 @@
   yum: name=java-*-openjdk-devel state=latest
   become: true
 
-# We really want a released version of Java 9 but RedHat does not provide
-# official packages yet and this copr repo appears to be all that's available
-# at the moment.
-- name: Install Java 9 SDK
-  block:
-    - name: Add Java 9 SDK Copr repo
-      yum_repository:
-        name: omajid-openjdk9
-        description: Copr repo for openjdk9 owned by omajid
-        baseurl: https://copr-be.cloud.fedoraproject.org/results/omajid/openjdk9/epel-7-$basearch/
-        enabled: true
-        gpgcheck: true
-        gpgkey: https://copr-be.cloud.fedoraproject.org/results/omajid/openjdk9/pubkey.gpg
-        repo_gpgcheck: false
-        skip_if_unavailable: true
-    - name: Install Java 9 SDK
-      yum: name=java-9-openjdk-devel state=present
-  become: true
-
 - name: Set Java path
   set_fact:
     java_path: /usr/lib/jvm/java-1.8.0-openjdk