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

chore(updatecli): track the official jdk21 version instead of earlyavailable #839

Merged
merged 1 commit into from
Oct 17, 2023

Conversation

smerle33
Copy link
Contributor

Copy link
Contributor

@dduportal dduportal left a comment

Choose a reason for hiding this comment

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

Adding 2 nitpicks comments: I'll send a PR

# JDK version (21+35)
## https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_aarch64_linux_hotspot_21_35.tar.gz
urlEncodedJDKVersion="${jdk_version//+/%2B}"
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${urlEncodedJDKVersion}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version//+/_}"
Copy link
Contributor

Choose a reason for hiding this comment

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

The JDK version is already URL-encoded line 15.

Suggested change
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${urlEncodedJDKVersion}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version//+/_}"
echo "https://github.com/adoptium/temurin21-binaries/releases/download/jdk-${jdk_version_urlencoded}/OpenJDK21U-jdk_${platform}_hotspot_${jdk_version_urlencoded//+/_}"

Comment on lines +36 to +37
# JDK version (21+35)
## https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_aarch64_linux_hotspot_21_35.tar.gz
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# JDK version (21+35)
## https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_aarch64_linux_hotspot_21_35.tar.gz
## JDK21 URLs have an underscore ('_') instead of a plus ('+') in their archive names

Let's stay homogeneous with the other JDKs

@dduportal dduportal added enhancement New feature or request chore and removed enhancement New feature or request labels Oct 17, 2023
@dduportal dduportal merged commit fa39a6c into jenkins-infra:main Oct 17, 2023
dduportal added a commit to dduportal/packer-images that referenced this pull request Oct 19, 2023
fixup of jenkins-infra#839

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
dduportal added a commit to dduportal/packer-images that referenced this pull request Oct 19, 2023
fixup of jenkins-infra#839

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
dduportal added a commit that referenced this pull request Oct 19, 2023
* fix: Use Temurin JDK21 stable URLs

fixup of #839

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

* feat: bump JDK21 to 21+35 GA stable

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>

---------

Signed-off-by: Damien Duportal <damien.duportal@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants