diff --git a/jdk-download-url.sh b/jdk-download-url.sh index bf7065be59..cd901bd88e 100755 --- a/jdk-download-url.sh +++ b/jdk-download-url.sh @@ -61,6 +61,9 @@ OS_TYPE="linux" if [ "$OS" = "alpine" ]; then OS_TYPE="alpine-linux" fi +if [ "$OS" = "windows" ]; then + OS_TYPE="windows" +fi # Initialize a variable to store the URL for the first architecture FIRST_ARCH_URL="" diff --git a/updatecli/updatecli.d/jdk11.yaml b/updatecli/updatecli.d/jdk11.yaml index 62194a7196..b370bd9f9d 100644 --- a/updatecli/updatecli.d/jdk11.yaml +++ b/updatecli/updatecli.d/jdk11.yaml @@ -44,38 +44,12 @@ conditions: spec: command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' standard "x64 aarch64 s390x" disablesourceinput: true - checkTemurinNanoserver2019DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-nanoserver-1809" is available - disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-nanoserver-1809' - checkTemurinWindowsCore2019DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-1809" is available - disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-windowsservercore-1809' - checkTemurinNanoserver2022DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-nanoserver-ltsc2022" is available - disablesourceinput: true + checkTemurinWindowsRelease: + name: Check if the "" is available for Windows + kind: shell spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-nanoserver-ltsc2022' - checkTemurinWindowsCore2022DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-18ltsc202209" is available + command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' windows "x64" disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-windowsservercore-ltsc2022' targets: setJDK11VersionDockerBake: diff --git a/updatecli/updatecli.d/jdk17.yaml b/updatecli/updatecli.d/jdk17.yaml index ad91b7f94a..51f445b3ff 100644 --- a/updatecli/updatecli.d/jdk17.yaml +++ b/updatecli/updatecli.d/jdk17.yaml @@ -46,38 +46,12 @@ conditions: spec: command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' standard "x64 aarch64 s390x" disablesourceinput: true - checkTemurinNanoserver2019DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-nanoserver-1809" is available - disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-nanoserver-1809' - checkTemurinWindowsCore2019DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-1809" is available - disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-windowsservercore-1809' - checkTemurinNanoserver2022DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-nanoserver-ltsc2022" is available - disablesourceinput: true + checkTemurinWWindowsRelease: + name: Check if the "" is available for Windows + kind: shell spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-nanoserver-ltsc2022' - checkTemurinWindowsCore2022DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-18ltsc202209" is available + command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' windows "x64" disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-windowsservercore-ltsc2022' targets: setJDK17VersionDockerBake: diff --git a/updatecli/updatecli.d/jdk21.yaml b/updatecli/updatecli.d/jdk21.yaml index b4e9669e99..389f31d27e 100644 --- a/updatecli/updatecli.d/jdk21.yaml +++ b/updatecli/updatecli.d/jdk21.yaml @@ -44,38 +44,12 @@ conditions: spec: command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' standard "x64 aarch64 s390x" disablesourceinput: true - checkTemurinNanoserver2019DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-nanoserver-1809" is available - disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-nanoserver-1809' - checkTemurinWindowsCore2019DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-1809" is available - disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-windowsservercore-1809' - checkTemurinNanoserver2022DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-nanoserver-ltsc2022" is available - disablesourceinput: true + checkTemurinWindowsRelease: + name: Check if the "" is available for Windows + kind: shell spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-nanoserver-ltsc2022' - checkTemurinWindowsCore2022DockerImage: - kind: dockerimage - name: Check if the container image "eclipse-temurin:-jdk-windowsservercore-18ltsc202209" is available + command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' windows "x64" disablesourceinput: true - spec: - # architecture: amd64 - image: eclipse-temurin - tag: '{{source "lastVersion" }}-jdk-windowsservercore-ltsc2022' targets: setJDK21VersionDockerBake: