Skip to content

Commit

Permalink
Update Java 19 CI to use Bellsoft Liberica
Browse files Browse the repository at this point in the history
Closes gh-32289
  • Loading branch information
wilkinsona committed Sep 21, 2022
1 parent 9d30a0a commit 5affcec
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ci/images/get-jdk-url.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ case "$1" in
echo "https://github.com/bell-sw/Liberica/releases/download/18.0.2.1+1/bellsoft-jdk18.0.2.1+1-linux-amd64.tar.gz"
;;
java19)
echo "https://github.com/adoptium/temurin19-binaries/releases/download/jdk19-2022-09-06-18-04-beta/OpenJDK19U-jdk_x64_linux_hotspot_2022-09-06-18-04.tar.gz"
echo "https://github.com/bell-sw/Liberica/releases/download/19+37/bellsoft-jdk19+37-linux-amd64.tar.gz"
;;
*)
echo $"Unknown java version"
Expand Down
6 changes: 6 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,12 @@ jobs:
params:
<<: *github-task-params
JDK_VERSION: java18
- task: detect-jdk19-update
image: ci-image
file: git-repo/ci/tasks/detect-jdk-updates.yml
params:
<<: *github-task-params
JDK_VERSION: java19
- name: detect-ubuntu-image-updates
plan:
- get: git-repo
Expand Down
4 changes: 4 additions & 0 deletions ci/scripts/detect-jdk-updates.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@ case "$JDK_VERSION" in
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=18"
ISSUE_TITLE="Upgrade Java 18 version in CI image"
;;
java19)
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=19"
ISSUE_TITLE="Upgrade Java 19 version in CI image"
;;
*)
echo $"Unknown java version"
exit 1;
Expand Down

0 comments on commit 5affcec

Please sign in to comment.