From 1c69ef6d5e881c8e4099da8ad90fb8129277021b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Filip=20Tron=C3=AD=C4=8Dek?= Date: Thu, 31 Oct 2024 11:30:08 +0100 Subject: [PATCH] Node: bump LTS and introduce Node 23 (#1453) --- .github/promote-images.yml | 1 + .github/sync-containers.yml | 1 + CHANGELOG.md | 6 ++++++ README.md | 1 + chunks/lang-node/chunk.yaml | 3 +++ dazzle.yaml | 18 ++++++++++++------ tests/lang-node.yaml | 3 ++- 7 files changed, 26 insertions(+), 7 deletions(-) diff --git a/.github/promote-images.yml b/.github/promote-images.yml index 928aef32e..2bfd85c92 100644 --- a/.github/promote-images.yml +++ b/.github/promote-images.yml @@ -17,6 +17,7 @@ workspace-node-18: "TIMESTAMP_TAG" workspace-node-20: "TIMESTAMP_TAG" workspace-node-22: "TIMESTAMP_TAG" + workspace-node-23: "TIMESTAMP_TAG" workspace-python: "TIMESTAMP_TAG" workspace-python-3.9: "TIMESTAMP_TAG" workspace-python-3.10: "TIMESTAMP_TAG" diff --git a/.github/sync-containers.yml b/.github/sync-containers.yml index a6c74c308..a32420814 100644 --- a/.github/sync-containers.yml +++ b/.github/sync-containers.yml @@ -14,6 +14,7 @@ sync: - node-18 - node-20 - node-22 + - node-23 - python - python-3.9 - python-3.10 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5246f854b..0b347a6a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,12 @@ A curated, chronologically ordered list of notable changes in [Gitpod's default workspace images](https://hub.docker.com/u/gitpod). +## 2024-10-31 🎃 + +- Bump the `workspace-node-lts` image to Node `22.11.0` +- Bump the `workspace-node` image to Node `23.1.0` +- Introduce `workspace-node-23` + ## 2024-10-22 - Deprecate `workspace-python-3.8` diff --git a/README.md b/README.md index b00eec53b..10968cf7b 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ Each contains a set of chunks: a common base and a language / tool. Every image - [`gitpod/workspace-node-18`](https://hub.docker.com/r/gitpod/workspace-node-18) ✅ - [`gitpod/workspace-node-20`](https://hub.docker.com/r/gitpod/workspace-node-20) ✅ - [`gitpod/workspace-node-22`](https://hub.docker.com/r/gitpod/workspace-node-22) ✅ +- [`gitpod/workspace-node-23`](https://hub.docker.com/r/gitpod/workspace-node-23) ✅ - [`gitpod/workspace-python`](https://hub.docker.com/r/gitpod/workspace-python) ✅ - [`gitpod/workspace-python-3.9`](https://hub.docker.com/r/gitpod/workspace-python-3.9) ✅ - [`gitpod/workspace-python-3.10`](https://hub.docker.com/r/gitpod/workspace-python-3.10) ✅ diff --git a/chunks/lang-node/chunk.yaml b/chunks/lang-node/chunk.yaml index d89bcc0f9..460c8b0ff 100644 --- a/chunks/lang-node/chunk.yaml +++ b/chunks/lang-node/chunk.yaml @@ -8,3 +8,6 @@ variants: - name: "22" args: NODE_VERSION: 22.11.0 + - name: "23" + args: + NODE_VERSION: 23.1.0 diff --git a/dazzle.yaml b/dazzle.yaml index 96d6ef213..2b9ed0067 100644 --- a/dazzle.yaml +++ b/dazzle.yaml @@ -12,7 +12,7 @@ combiner: - lang-c - lang-go:1.23 - lang-java:11 - - lang-node:20 + - lang-node:22 - tool-brew - name: c ref: @@ -37,7 +37,7 @@ combiner: - lang-clojure - lang-go:1.23 - lang-java:11 - - lang-node:20 + - lang-node:22 - lang-python:3.12 - lang-ruby:3.2 - lang-rust:1 @@ -64,13 +64,13 @@ combiner: ref: - base chunks: - - lang-node:22 + - lang-node:23 - tool-chrome - name: node-lts ref: - base chunks: - - lang-node:20 + - lang-node:22 - tool-chrome - name: node-18 ref: @@ -90,6 +90,12 @@ combiner: chunks: - lang-node:22 - tool-chrome + - name: node-23 + ref: + - base + chunks: + - lang-node:23 + - tool-chrome - name: python ref: - base @@ -198,7 +204,7 @@ combiner: - lang-clojure - lang-go:1.23 - lang-java:11 - - lang-node:20 + - lang-node:22 - lang-ruby:3.2 - lang-rust:1 - tool-brew @@ -213,7 +219,7 @@ combiner: - lang-clojure - lang-go:1.23 - lang-java:11 - - lang-node:20 + - lang-node:22 - lang-ruby:3.2 - lang-rust:1 - tool-brew diff --git a/tests/lang-node.yaml b/tests/lang-node.yaml index e3591c497..c7c6866e6 100644 --- a/tests/lang-node.yaml +++ b/tests/lang-node.yaml @@ -5,7 +5,8 @@ - status == 0 - stdout.indexOf("v18") != -1 || stdout.indexOf("v20") != -1 || - stdout.indexOf("v22") != -1 + stdout.indexOf("v22") != -1 || + stdout.indexOf("v23") != -1 - desc: it should have yarn command: [yarn --version] entrypoint: [bash, -i, -c]