Skip to content

Commit

Permalink
Add Node 22 and remove Node 21 (#1391)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek committed Aug 6, 2024
1 parent ea4f5bc commit e795704
Show file tree
Hide file tree
Showing 7 changed files with 27 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/promote-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
workspace-node: "2024.*"
workspace-node-lts: "2024.*"
workspace-node-18: "2024.*"
workspace-node-20: "2024.*"
workspace-node-22: "2024.*"
workspace-python: "2024.*"
workspace-python-3.8: "2024.*"
workspace-python-3.9: "2024.*"
Expand Down
2 changes: 2 additions & 0 deletions .github/sync-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ sync:
- node
- node-lts
- node-18
- node-20
- node-22
- python
- python-3.8
- python-3.9
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

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

## 2024-08-06

- Introduce `workspace-node-20` and `workspace-node-22`
- Deprecate `workspace-node-21` since it has reached EoL

## 2024-07-01

- Bump Clang to `18` and enable ASAN Support.
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Each contains a set of chunks: a common base and a language / tool. Every image
- [`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)
- [`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-python`](https://hub.docker.com/r/gitpod/workspace-python)
- [`gitpod/workspace-python-3.8`](https://hub.docker.com/r/gitpod/workspace-python-3.8)
- [`gitpod/workspace-python-3.9`](https://hub.docker.com/r/gitpod/workspace-python-3.9)
Expand Down
4 changes: 2 additions & 2 deletions chunks/lang-node/chunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ variants:
- name: "20"
args:
NODE_VERSION: 20.16.0
- name: "21"
- name: "22"
args:
NODE_VERSION: 21.7.3
NODE_VERSION: 22.5.1
14 changes: 13 additions & 1 deletion dazzle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ combiner:
ref:
- base
chunks:
- lang-node:21
- lang-node:22
- tool-chrome
- name: node-lts
ref:
Expand All @@ -78,6 +78,18 @@ combiner:
chunks:
- lang-node:18
- tool-chrome
- name: node-20
ref:
- base
chunks:
- lang-node:20
- tool-chrome
- name: node-22
ref:
- base
chunks:
- lang-node:22
- tool-chrome
- name: python-3.12
ref:
- base
Expand Down
2 changes: 1 addition & 1 deletion tests/lang-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
- status == 0
- stdout.indexOf("v18") != -1 ||
stdout.indexOf("v20") != -1 ||
stdout.indexOf("v21") != -1
stdout.indexOf("v22") != -1
- desc: it should have yarn
command: [yarn --version]
entrypoint: [bash, -i, -c]
Expand Down

0 comments on commit e795704

Please sign in to comment.