Skip to content

Commit

Permalink
fix: Remove the JDK21 preview (#822)
Browse files Browse the repository at this point in the history
* fix(updatecli): Removed the JDK21 preview

* fix(updatecli): Remove the JDK21 preview

* fix(updatecli): Remove the JDK21 preview

* fix(docker): Forgot a ".
  • Loading branch information
gounthar authored Jun 17, 2024
1 parent 105f745 commit 4d64c28
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 220 deletions.
122 changes: 0 additions & 122 deletions debian/preview/Dockerfile

This file was deleted.

39 changes: 4 additions & 35 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ group "linux" {
targets = [
"agent_archlinux_jdk11",
"alpine",
"debian",
"debian_jdk21_preview"
"debian"
]
}

Expand All @@ -15,8 +14,7 @@ group "linux-agent-only" {
"agent_alpine_jdk21",
"agent_debian_jdk11",
"agent_debian_jdk17",
"agent_debian_jdk21",
"agent_debian_jdk21_preview"
"agent_debian_jdk21"
]
}

Expand All @@ -27,8 +25,7 @@ group "linux-inbound-agent-only" {
"inbound-agent_alpine_jdk21",
"inbound-agent_debian_jdk11",
"inbound-agent_debian_jdk17",
"inbound-agent_debian_jdk21",
"inbound-agent_debian_jdk21_preview"
"inbound-agent_debian_jdk21"
]
}

Expand All @@ -42,8 +39,7 @@ group "linux-arm64" {
group "linux-arm32" {
targets = [
"debian_jdk11",
"debian_jdk17",
"debian_jdk21_preview"
"debian_jdk17"
]
}

Expand Down Expand Up @@ -112,10 +108,6 @@ variable "JAVA21_VERSION" {
default = "21.0.3_9"
}

variable "JAVA21_PREVIEW_VERSION" {
default = "21.0.1+12"
}

function "orgrepo" {
params = [agentType]
result = equal("agent", agentType) ? "${REGISTRY_ORG}/${REGISTRY_REPO_AGENT}" : "${REGISTRY_ORG}/${REGISTRY_REPO_INBOUND_AGENT}"
Expand Down Expand Up @@ -241,26 +233,3 @@ target "agent_archlinux_jdk11" {
]
platforms = ["linux/amd64"]
}

target "debian_jdk21_preview" {
matrix = {
type = ["agent", "inbound-agent"]
}
name = "${type}_debian_jdk21_preview"
target = type
dockerfile = "debian/preview/Dockerfile"
context = "."
args = {
JAVA_VERSION = JAVA21_PREVIEW_VERSION
VERSION = REMOTING_VERSION
DEBIAN_RELEASE = DEBIAN_RELEASE
}
tags = [
equal(ON_TAG, "true") ? "${REGISTRY}/${orgrepo(type)}:${REMOTING_VERSION}-${BUILD_NUMBER}-jdk21-preview" : "",
"${REGISTRY}/${orgrepo(type)}:bookworm-jdk21-preview",
"${REGISTRY}/${orgrepo(type)}:jdk21-preview",
"${REGISTRY}/${orgrepo(type)}:latest-bookworm-jdk21-preview",
"${REGISTRY}/${orgrepo(type)}:latest-jdk21-preview",
]
platforms = ["linux/arm/v7"]
}
63 changes: 0 additions & 63 deletions updatecli/updatecli.d/jdk21-preview.yaml

This file was deleted.

0 comments on commit 4d64c28

Please sign in to comment.