Skip to content

Commit ca969da

Browse files
authored
chore(updatecli): add manifest for JDK25 (#2190)
1 parent 0859360 commit ca969da

File tree

1 file changed

+74
-0
lines changed

1 file changed

+74
-0
lines changed

updatecli/updatecli.d/jdk25.yaml

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
name: Bump JDK25 version
2+
3+
scms:
4+
default:
5+
kind: github
6+
spec:
7+
user: "{{ .github.user }}"
8+
email: "{{ .github.email }}"
9+
owner: "{{ .github.owner }}"
10+
repository: "{{ .github.repository }}"
11+
token: "{{ requiredEnv .github.token }}"
12+
username: "{{ .github.username }}"
13+
branch: "{{ .github.branch }}"
14+
15+
sources:
16+
lastTemurin25Version:
17+
kind: temurin
18+
name: Get the latest Adoptium JDK25 version via the API
19+
spec:
20+
featureversion: 25
21+
transformers:
22+
- trimprefix: "jdk-"
23+
24+
conditions:
25+
checkTemurinAllReleases:
26+
name: Check if the "<lastTemurin25Version>" is available for all platforms
27+
kind: temurin
28+
sourceid: lastTemurin25Version
29+
spec:
30+
featureversion: 25
31+
platforms:
32+
- alpine-linux/x64
33+
- alpine-linux/aarch64
34+
- linux/x64
35+
- linux/aarch64
36+
- linux/ppc64le
37+
- linux/s390x
38+
- windows/x64
39+
40+
targets:
41+
setJDK25VersionDockerBake:
42+
name: "Bump JDK25 version for Linux images in the docker-bake.hcl file"
43+
kind: hcl
44+
transformers:
45+
- replacer:
46+
from: "+"
47+
to: "_"
48+
spec:
49+
file: docker-bake.hcl
50+
path: variable.JAVA25_VERSION.default
51+
scmid: default
52+
53+
setJDK25VersionWindowsDockerCompose:
54+
name: "Bump JDK25 version in build-windows.yaml"
55+
kind: yaml
56+
transformers:
57+
- replacer:
58+
from: "+"
59+
to: "_"
60+
spec:
61+
files:
62+
- build-windows.yaml
63+
key: $.services.jdk25.build.args.JAVA_VERSION
64+
scmid: default
65+
66+
actions:
67+
default:
68+
kind: github/pullrequest
69+
scmid: default
70+
title: Bump JDK25 version to {{ source "lastTemurin25Version" }}
71+
spec:
72+
labels:
73+
- dependencies
74+
- jdk25

0 commit comments

Comments
 (0)