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

Track Java versions for Windows with updatecli #1781

Merged
merged 4 commits into from Apr 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 7 additions & 0 deletions updatecli/updatecli.d/jdk11.yaml
Expand Up @@ -104,6 +104,13 @@ targets:
keyword: ARG
matcher: JAVA_VERSION
scmid: default
setJDK11VersionWindowsDockerCompose:
name: "Bump JDK11 version in build-windows.yaml"
kind: yaml
spec:
file: build-windows.yaml
key: $.services.jdk11.build.args.JAVA_VERSION
scmid: default

actions:
default:
Expand Down
18 changes: 17 additions & 1 deletion updatecli/updatecli.d/jdk17.yaml
Expand Up @@ -46,7 +46,7 @@ conditions:
spec:
command: sh ./jdk-download-url.sh '{{source "lastVersion" }}' standard "x64 aarch64 s390x"
disablesourceinput: true
checkTemurinWWindowsRelease:
checkTemurinWindowsRelease:
name: Check if the "<lastVersion>" is available for Windows
kind: shell
spec:
Expand Down Expand Up @@ -97,6 +97,22 @@ targets:
keyword: ARG
matcher: JAVA_VERSION
scmid: default
setJDK17VersionWindowsDockerImage:
name: "Bump default JDK17 version for Linux images in the Windows Dockerfile"
kind: dockerfile
spec:
file: windows/windowsservercore/hotspot/Dockerfile
instruction:
keyword: ARG
matcher: JAVA_VERSION
scmid: default
setJDK17VersionWindowsDockerCompose:
name: "Bump JDK17 version in build-windows.yaml"
kind: yaml
spec:
file: build-windows.yaml
key: $.services.jdk17.build.args.JAVA_VERSION
scmid: default

actions:
default:
Expand Down
7 changes: 7 additions & 0 deletions updatecli/updatecli.d/jdk21.yaml
Expand Up @@ -95,6 +95,13 @@ targets:
keyword: ARG
matcher: JAVA_VERSION
scmid: default
setJDK21VersionWindowsDockerCompose:
name: "Bump JDK21 version in build-windows.yaml"
kind: yaml
spec:
file: build-windows.yaml
key: $.services.jdk21.build.args.JAVA_VERSION
scmid: default

actions:
default:
Expand Down