mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Switch Java 21 CI to Bellsoft and enable update detection
Closes gh-37369
This commit is contained in:
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"
|
||||
;;
|
||||
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"
|
||||
|
@ -359,6 +359,12 @@ jobs:
|
||||
params:
|
||||
<<: *github-task-params
|
||||
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
|
||||
plan:
|
||||
- get: git-repo
|
||||
|
@ -24,6 +24,10 @@ case "$JDK_VERSION" in
|
||||
BASE_URL="https://api.bell-sw.com/v1/liberica/releases?version-feature=20"
|
||||
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"
|
||||
exit 1;
|
||||
|
Loading…
Reference in New Issue
Block a user