-
-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #347 from marvinruder/jdk21-temurin
Use generally available JDK21 images
- Loading branch information
Showing
10 changed files
with
176 additions
and
174 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
--- | ||
name: Bump JDK21 EA version for all Linux images | ||
|
||
scms: | ||
default: | ||
kind: github | ||
spec: | ||
user: "{{ .github.user }}" | ||
email: "{{ .github.email }}" | ||
owner: "{{ .github.owner }}" | ||
repository: "{{ .github.repository }}" | ||
token: "{{ requiredEnv .github.token }}" | ||
username: "{{ .github.username }}" | ||
branch: "{{ .github.branch }}" | ||
temurin21-binaries: | ||
kind: "github" | ||
spec: | ||
user: "{{ .github.user }}" | ||
email: "{{ .github.email }}" | ||
owner: "adoptium" | ||
repository: "temurin21-binaries" | ||
token: '{{ requiredEnv .github.token }}' | ||
branch: "main" | ||
|
||
sources: | ||
getLatestJDK21EAVersion: | ||
name: Get the latest Adoptium JDK21 EA version | ||
kind: gittag | ||
scmid: temurin21-binaries | ||
spec: | ||
versionfilter: | ||
kind: regex | ||
pattern: ".*-ea-.*" | ||
transformers: | ||
- trimprefix: "jdk-" | ||
- trimsuffix: "-ea-beta" | ||
|
||
conditions: | ||
checkIfReleaseIsAvailable: | ||
kind: shell | ||
spec: | ||
command: bash ./updatecli/scripts/check-jdk.sh # source input value passed as argument | ||
|
||
targets: | ||
setJDK21VersionForBake: | ||
name: "Bump JDK21 EA version for Linux images in the docker-bake.hcl file" | ||
kind: hcl | ||
spec: | ||
file: docker-bake.hcl | ||
path: variable.JAVA21_PREVIEW_VERSION.default | ||
scmid: default | ||
setJDK21VersionDebian: | ||
name: "Bump JDK21 EA version for Linux images in the Debian Dockerfile" | ||
kind: dockerfile | ||
spec: | ||
file: debian/preview/Dockerfile | ||
instruction: | ||
keyword: "ARG" | ||
matcher: "JAVA_VERSION" | ||
actions: | ||
default: | ||
kind: github/pullrequest | ||
scmid: default | ||
title: Bump JDK21 EA version to {{ source "getLatestJDK21EAVersion" }} | ||
spec: | ||
labels: | ||
- dependencies |
Oops, something went wrong.