Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade runtime images to Java 21 [HZ-4198] #194

Merged
merged 3 commits into from
Jan 24, 2024
Merged

Conversation

JackPGreen
Copy link
Collaborator

@JackPGreen JackPGreen commented Jan 19, 2024

Hazelcast runtime images should use the latest supported Java runtime, which is currently Java 21. This change has already been made in hazelcast/hazelcast-docker#694.

  • brew
    • Was - Java 21 (implicitly)
      • verified in Docker using brew install --build-from-source hazelcast-template.rb
    • Now - Java 21 (explicitly)
  • Debian
    • Was - Java 8 (explicitly)
      • Should already have been upgraded as Hazelcast 5.3 requires Java 11
    • Now - Java 21 (explicitly)
  • rpm
    • Was - Java 8 (implicitly)
      • verified in Docker (UBI 8.1) using yum whatprovides java-headless) - java-1.8.0-openjdk-1:1.8.0.402.b06-2.el8.aarch64 : OpenJDK 8 Runtime Environment
      • java-headless is no longer supported, hence the old version being resolved
    • Now - Java 21 (explicitly)
      • resolves to java-21-openjdk-1:21.0.2.0.13-1.el8.aarch64 : OpenJDK 21 Runtime Environment

Fixes HZ-4198

@JackPGreen JackPGreen added this to the 5.4 milestone Jan 19, 2024
@JackPGreen JackPGreen self-assigned this Jan 19, 2024
Copy link
Contributor

@frant-hartm frant-hartm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo has the same issue as the docker one - it needs some secrets to work properly so we need to create the PR from upstream and not the fork.

I think it's worth to get green build on this before merging.

@JackPGreen JackPGreen changed the base branch from master to HZ-4198---Remove-Java-11-from-runtime-images January 24, 2024 13:40
@JackPGreen JackPGreen merged commit d7ead0c into hazelcast:HZ-4198---Remove-Java-11-from-runtime-images Jan 24, 2024
6 of 36 checks passed
@JackPGreen
Copy link
Collaborator Author

This repo has the same issue as the docker one - it needs some secrets to work properly so we need to create the PR from upstream and not the fork.

I think it's worth to get green build on this before merging.

#195
#196

JackPGreen added a commit that referenced this pull request Jan 24, 2024
Clarify how PRs should be submitted based on [PR
feedback](#194 (review)).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants