Switch Java 21 CI to Bellsoft and enable update detection

Closes gh-37369
2.7.x
Moritz Halbritter 1 year ago
parent f96690348f
commit a0fd4fc86b

@ -15,7 +15,7 @@ case "$1" in
echo "https://github.com/bell-sw/Liberica/releases/download/20.0.2+10/bellsoft-jdk20.0.2+10-linux-amd64.tar.gz" echo "https://github.com/bell-sw/Liberica/releases/download/20.0.2+10/bellsoft-jdk20.0.2+10-linux-amd64.tar.gz"
;; ;;
java21) java21)
echo "https://download.java.net/java/GA/jdk21/fd2272bbf8e04c3dbaee13770090416c/35/GPL/openjdk-21_linux-x64_bin.tar.gz" echo "https://github.com/bell-sw/Liberica/releases/download/21+37/bellsoft-jdk21+37-linux-amd64.tar.gz"
;; ;;
*) *)
echo $"Unknown java version" echo $"Unknown java version"

@ -359,6 +359,12 @@ jobs:
params: params:
<<: *github-task-params <<: *github-task-params
JDK_VERSION: java20 JDK_VERSION: java20
- task: detect-jdk21-update
image: ci-image
file: git-repo/ci/tasks/detect-jdk-updates.yml
params:
<<: *github-task-params
JDK_VERSION: java21
- name: detect-ubuntu-image-updates - name: detect-ubuntu-image-updates
plan: plan:
- get: git-repo - get: git-repo

@ -24,6 +24,10 @@ case "$JDK_VERSION" in
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=20" BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=20"
ISSUE_TITLE="Upgrade Java 20 version in CI image" ISSUE_TITLE="Upgrade Java 20 version in CI image"
;; ;;
java21)
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=21"
ISSUE_TITLE="Upgrade Java 21 version in CI image"
;;
*) *)
echo $"Unknown java version" echo $"Unknown java version"
exit 1; exit 1;

Loading…
Cancel
Save