Skip to content

Commit

Permalink
✨ Add Java 23 (#1457)
Browse files Browse the repository at this point in the history
Co-authored-by: Filip Troníček <filip@gitpod.io>
  • Loading branch information
jeanphi-baconnais and filiptronicek authored Nov 11, 2024
1 parent a468e96 commit 0bfa610
Show file tree
Hide file tree
Showing 7 changed files with 17 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/promote-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
workspace-java-11: "TIMESTAMP_TAG"
workspace-java-17: "TIMESTAMP_TAG"
workspace-java-21: "TIMESTAMP_TAG"
workspace-java-23: "TIMESTAMP_TAG"
workspace-yugabytedb: "TIMESTAMP_TAG"
workspace-yugabytedb-preview: "TIMESTAMP_TAG"
workspace-gitpod-dev: "TIMESTAMP_TAG"
Expand Down
1 change: 1 addition & 0 deletions .github/sync-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ sync:
- java-11
- java-17
- java-21
- java-23
- yugabytedb
- yugabytedb-preview
- gitpod-dev
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

A curated, chronologically ordered list of notable changes in [Gitpod's default workspace images](https://hub.docker.com/u/gitpod).

## 2024-11-11

- Introduce `workspace-java-23`

## 2024-10-31 🎃

- Bump the `workspace-node-lts` image to Node `22.11.0`
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Each contains a set of chunks: a common base and a language / tool. Every image
- [`gitpod/workspace-java-11`](https://hub.docker.com/r/gitpod/workspace-java-11)
- [`gitpod/workspace-java-17`](https://hub.docker.com/r/gitpod/workspace-java-17)
- [`gitpod/workspace-java-21`](https://hub.docker.com/r/gitpod/workspace-java-21)
- [`gitpod/workspace-java-21`](https://hub.docker.com/r/gitpod/workspace-java-23)
- [`gitpod/workspace-node`](https://hub.docker.com/r/gitpod/workspace-node)
- [`gitpod/workspace-node-lts`](https://hub.docker.com/r/gitpod/workspace-node-lts)
- [`gitpod/workspace-node-18`](https://hub.docker.com/r/gitpod/workspace-node-18)
Expand Down
3 changes: 3 additions & 0 deletions chunks/lang-java/chunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,6 @@ variants:
- name: "21"
args:
JAVA_VERSION: 21.0.5.fx-zulu
- name: "23"
args:
JAVA_VERSION: 23.0.1.fx-zulu
5 changes: 5 additions & 0 deletions dazzle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,11 @@ combiner:
- base
chunks:
- lang-java:21
- name: java-23
ref:
- base
chunks:
- lang-java:23
- name: yugabytedb
ref:
- base
Expand Down
3 changes: 2 additions & 1 deletion tests/lang-java.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
- stderr.indexOf("OpenJDK") != -1
- stderr.indexOf("11.0.") != -1 ||
stderr.indexOf("17.0.") != -1 ||
stderr.indexOf("21.0.") != -1
stderr.indexOf("21.0.") != -1 ||
stderr.indexOf("23.0.") != -1
- desc: it should have a functioning java 17 installed
entrypoint: [env, GITPOD_REPO_ROOT=/workspace, bash, -ci]
command: [sdk default java 17.0.13.fx-zulu && java -version && mvn -v]
Expand Down

0 comments on commit 0bfa610

Please sign in to comment.