[libvirt] [jenkins-ci PATCH 0/2] guests: Use OpenJDK 11 where possible

See commit 2/2 for more information. Andrea Bolognani (2): guests: Add mapping for OpenJDK on Ubuntu guests: Use OpenJDK 11 where possible guests/vars/mappings.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) -- 2.21.0

Even though we technically don't need them because we don't have Ubuntu guests on CentOS CI, leaving the mapping incomplete when it's easy to cover everything feels wrong. Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- guests/vars/mappings.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index 4a231c3..123b287 100644 --- a/guests/vars/mappings.yml +++ b/guests/vars/mappings.yml @@ -261,7 +261,6 @@ mappings: deb: openjdk-8-jre-headless pkg: openjdk8-jre rpm: java-1.8.0-openjdk-headless - Ubuntu: json-glib: deb: libjson-glib-dev -- 2.21.0

On Tue, Jul 09, 2019 at 06:26:34PM +0200, Andrea Bolognani wrote:
Even though we technically don't need them because we don't have Ubuntu guests on CentOS CI, leaving the mapping incomplete when it's easy to cover everything feels wrong.
Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- guests/vars/mappings.yml | 1 - 1 file changed, 1 deletion(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|

Debian 10 doesn't include OpenJDK 8, which would be a problem if not for the fact that thankfully the Jenkins agent, which is the only thing we need Java for, seems to work perfectly fine with OpenJDK 11 too. Given this fact, we can move to OpenJDK 11 pretty much across the board and stick to OpenJDK 8 for the few platforms that only include the older release. Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- guests/vars/mappings.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/guests/vars/mappings.yml b/guests/vars/mappings.yml index 123b287..3cf125b 100644 --- a/guests/vars/mappings.yml +++ b/guests/vars/mappings.yml @@ -258,9 +258,11 @@ mappings: FreeBSD: cdrkit java: - deb: openjdk-8-jre-headless - pkg: openjdk8-jre - rpm: java-1.8.0-openjdk-headless + deb: openjdk-11-jre-headless + pkg: openjdk11 + rpm: java-11-openjdk-headless + Debian9: openjdk-8-jre-headless + Ubuntu16: openjdk-8-jre-headless json-glib: deb: libjson-glib-dev -- 2.21.0

On Tue, Jul 09, 2019 at 06:26:35PM +0200, Andrea Bolognani wrote:
Debian 10 doesn't include OpenJDK 8, which would be a problem if not for the fact that thankfully the Jenkins agent, which is the only thing we need Java for, seems to work perfectly fine with OpenJDK 11 too.
Given this fact, we can move to OpenJDK 11 pretty much across the board and stick to OpenJDK 8 for the few platforms that only include the older release.
Signed-off-by: Andrea Bolognani <abologna@redhat.com> --- guests/vars/mappings.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-)
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
participants (2)
-
Andrea Bolognani
-
Daniel P. Berrangé