Skip to content

Commit

Permalink
feat(JDK21) Use official Temurin build for linux/s390x
Browse files Browse the repository at this point in the history
  • Loading branch information
gounthar committed Mar 21, 2024
1 parent 2d69ed2 commit 7becf2f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 21 deletions.
6 changes: 3 additions & 3 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ group "linux-arm32" {
group "linux-s390x" {
targets = [
"debian_jdk11",
"debian_jdk21-preview"
"debian_jdk21"
]
}

Expand Down Expand Up @@ -196,7 +196,7 @@ target "debian_jdk21" {
"${REGISTRY}/${JENKINS_REPO}:latest-debian-jdk21",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk21",
]
platforms = ["linux/amd64", "linux/arm64", "linux/ppc64le"]
platforms = ["linux/amd64", "linux/arm64", "linux/ppc64le", "linux/s390x"]
}

target "debian_jdk21-preview" {
Expand All @@ -215,5 +215,5 @@ target "debian_jdk21-preview" {
"${REGISTRY}/${JENKINS_REPO}:latest-debian-jdk21-preview",
"${REGISTRY}/${JENKINS_REPO}:latest-jdk21-preview",
]
platforms = ["linux/s390x", "linux/arm/v7"]
platforms = ["linux/arm/v7"]
}
12 changes: 6 additions & 6 deletions updatecli/updatecli.d/jdk11.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ conditions:
name: Check if the container image "eclipse-temurin:<jdk11LastVersion>-jdk-alpine" is available
disablesourceinput: true
spec:
architecture: amd64
architecture: linux/amd64
image: eclipse-temurin
tag: '{{source "jdk11LastVersion" }}-jdk-alpine'
checkTemurinJDK11DebianDockerImages:
Expand All @@ -48,18 +48,18 @@ conditions:
disablesourceinput: true
spec:
architectures:
- amd64
- arm64
- s390x
- arm/v7
- linux/amd64
- linux/arm64
- linux/s390x
- linux/arm/v7
image: eclipse-temurin
tag: '{{source "jdk11LastVersion" }}-jdk-jammy'
checkTemurinJDK11WindowsCoreDockerImage:
kind: dockerimage
name: Check if the container image "eclipse-temurin:<jdk11LastVersion>-jdk-windowsservercore-1809" is available
disablesourceinput: true
spec:
architecture: amd64
architecture: windows/amd64
image: eclipse-temurin
tag: '{{source "jdk11LastVersion" }}-jdk-windowsservercore-1809'

Expand Down
12 changes: 6 additions & 6 deletions updatecli/updatecli.d/jdk17.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ conditions:
name: Check if the container image "eclipse-temurin:<jdk17LastVersion>-jdk-alpine" is available
disablesourceinput: true
spec:
architecture: amd64
architecture: linux/amd64
image: eclipse-temurin
tag: '{{source "jdk17LastVersion" }}-jdk-alpine'
checkTemurinJDK17DebianDockerImages:
Expand All @@ -48,18 +48,18 @@ conditions:
disablesourceinput: true
spec:
architectures:
- amd64
- arm64
- s390x
- arm/v7
- linux/amd64
- linux/arm64
- linux/s390x
- linux/arm/v7
image: eclipse-temurin
tag: '{{source "jdk17LastVersion" }}-jdk-jammy'
checkTemurinJDK17WindowsCoreDockerImage:
kind: dockerimage
name: Check if the container image "eclipse-temurin:<jdk17LastVersion>-jdk-windowsservercore-1809" is available
disablesourceinput: true
spec:
architecture: amd64
architecture: windows/amd64
image: eclipse-temurin
tag: '{{source "jdk17LastVersion" }}-jdk-windowsservercore-1809'

Expand Down
11 changes: 5 additions & 6 deletions updatecli/updatecli.d/jdk21.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ conditions:
name: Check if the container image "eclipse-temurin:<jdk21LastVersion>-jdk-alpine" is available
disablesourceinput: true
spec:
architecture: amd64
architecture: linux/amd64
image: eclipse-temurin
tag: '{{source "jdk21LastVersion" }}-jdk-alpine'
checkTemurinJDK21DebianDockerImages:
Expand All @@ -48,18 +48,17 @@ conditions:
disablesourceinput: true
spec:
architectures:
- amd64
- arm64
- s390x
- arm/v7
- linux/amd64
- linux/arm64
- linux/s390x
image: eclipse-temurin
tag: '{{source "jdk21LastVersion" }}-jdk-jammy'
checkTemurinJDK21WindowsCoreDockerImage:
kind: dockerimage
name: Check if the container image "eclipse-temurin:<jdk21LastVersion>-jdk-windowsservercore-1809" is available
disablesourceinput: true
spec:
architecture: amd64
architecture: windows/amd64
image: eclipse-temurin
tag: '{{source "jdk21LastVersion" }}-jdk-windowsservercore-1809'

Expand Down

0 comments on commit 7becf2f

Please sign in to comment.