Skip to content

Commit

Permalink
node: LTS and major release changes (#1208)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiptronicek authored Oct 19, 2023
1 parent fb7ee2e commit 7cb0780
Show file tree
Hide file tree
Showing 7 changed files with 38 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/promote-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
workspace-nix: "2023.*"
workspace-node: "2023.*"
workspace-node-lts: "2023.*"
workspace-node-18: "2023.*"
workspace-python: "2023.*"
workspace-python-3.8: "2023.*"
workspace-python-3.9: "2023.*"
Expand Down
1 change: 1 addition & 0 deletions .github/sync-containers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ sync:
- nix
- node
- node-lts
- node-18
- python
- python-3.8
- python-3.9
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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

## 2023-10-19

- Node 20 replaces Node 18 as the current LTS
- Introduce Node `21.0.0` in `workspace-node`
- Introduce `workspace-node-18` for those, who aren't ready to upgrade just yet

## 2023-10-12

- Reintroduce `gitpod/workspace-python-3.10`, `gitpod/workspace-python-3.9` and `gitpod/workspace-python-3.8`
Expand Down
15 changes: 14 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
[![Build from Main](https://github.com/gitpod-io/workspace-images/actions/workflows/push-main.yml/badge.svg)](https://github.com/gitpod-io/workspace-images/actions/workflows/push-main.yml)

Ready-to-use Docker images for [gitpod.io](https://www.gitpod.io) workspaces.
All images are available on [Gitpod's Dockerhub page](https://hub.docker.com/u/gitpod).
All images are available on [Gitpod's Docker Hub page](https://hub.docker.com/u/gitpod).

For an example of how to use these images, please take a look at the [documentation](https://www.gitpod.io/docs/configure/workspaces/workspace-image#configure-a-public-docker-image).

Expand Down Expand Up @@ -53,13 +53,26 @@ Each contains a set of chunks: a common base, and a language, and includes Docke
- [`gitpod/workspace-java-17`](https://hub.docker.com/r/gitpod/workspace-java-17)
- [`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-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)
- [`gitpod/workspace-python-3.10`](https://hub.docker.com/r/gitpod/workspace-python-3.10)
- [`gitpod/workspace-python-3.11`](https://hub.docker.com/r/gitpod/workspace-python-3.11)
- [`gitpod/workspace-python-3.12`](https://hub.docker.com/r/gitpod/workspace-python-3.12)
- [`gitpod/workspace-ruby-3`](https://hub.docker.com/r/gitpod/workspace-ruby-3)
- [`gitpod/workspace-ruby-3.0`](https://hub.docker.com/r/gitpod/workspace-ruby-3.0)
- [`gitpod/workspace-ruby-3.1`](https://hub.docker.com/r/gitpod/workspace-ruby-3.1)
- [`gitpod/workspace-rust`](https://hub.docker.com/r/gitpod/workspace-rust)
- [`gitpod/workspace-elixir`](https://hub.docker.com/r/gitpod/workspace-elixir)

#### Versions we'll maintain

For images dedicated to Java, Node, Python and Ruby, their lifecycle generally works as follows:

- If an image does not have a version in its name, we try to keep it at its latest stable version
- If an image is versioned (like `workspace-python-3.12`), we'll support it until it reached End of Life

### 🎬 No upgrade planned

⚠️ These images are no longer being published, and are not planned for Upgrade:
Expand Down
3 changes: 3 additions & 0 deletions chunks/lang-node/chunk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ variants:
- name: "20"
args:
NODE_VERSION: 20.8.1
- name: "21"
args:
NODE_VERSION: 21.0.0
16 changes: 11 additions & 5 deletions dazzle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ combiner:
- lang-c
- lang-go:1.21
- lang-java:11
- lang-node:18
- lang-node:20
- tool-brew
- name: c
ref:
Expand All @@ -37,7 +37,7 @@ combiner:
- lang-clojure
- lang-go:1.21
- lang-java:11
- lang-node:18
- lang-node:20
- lang-python:3.12
- lang-ruby:3.2
- lang-rust:1
Expand All @@ -64,9 +64,15 @@ combiner:
ref:
- base
chunks:
- lang-node:20
- lang-node:21
- tool-chrome
- name: node-lts
ref:
- base
chunks:
- lang-node:20
- tool-chrome
- name: node-18
ref:
- base
chunks:
Expand Down Expand Up @@ -160,7 +166,7 @@ combiner:
- lang-clojure
- lang-go:1.21
- lang-java:11
- lang-node:18
- lang-node:20
- lang-ruby:3.2
- lang-rust:1
- tool-brew
Expand All @@ -175,7 +181,7 @@ combiner:
- lang-clojure
- lang-go:1.21
- lang-java:11
- lang-node:18
- lang-node:20
- lang-ruby:3.2
- lang-rust:1
- tool-brew
Expand Down
3 changes: 2 additions & 1 deletion tests/lang-node.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
assert:
- status == 0
- stdout.indexOf("v18") != -1 ||
stdout.indexOf("v20") != -1
stdout.indexOf("v20") != -1 ||
stdout.indexOf("v21") != -1
- desc: it should have yarn
command: [yarn --version]
entrypoint: [bash, -i, -c]
Expand Down

0 comments on commit 7cb0780

Please sign in to comment.