nodejs / nodejs/build

Update sharedlib containers/host(?) to Ubuntu 20.04 or 22.04

Open
#2,933 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

ci-public platform:linux-intel
Dominant language
Jinja
Stars
541
Forks
185
Avg merge
22h 15m
Merged PRs (30d)
4

Description

We're currently running https://ci.nodejs.org/job/node-test-commit-linux-containered/ in Ubuntu 18.04 containers, defined in the ubuntu1804_sharedlibs.Dockerfile.j2 template.

We have a ubuntu2004_sharedlibs.Dockerfile.j2 template, currently deployed on arm64, which we could switch to. Ideally we'd have both Ubuntu 18.04 containers for Node.js < 18 and Ubuntu 20.04 for Node.js >= 18 but we'd have to make sure we have the disk space on the hosts. Or maybe we just aggressively move all of them to Ubuntu 20.04 once Node.js 12 goes End-of-Life (no Python 2 in Ubuntu 20.04).

Ubuntu 22.04 came out in the last few days so that's also an option.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare ansible/roles/docker/templates/ubuntu1804_sharedlibs.Dockerfile.j2 with ubuntu2004_sharedlibs.Dockerfile.j2, then inspect the node-test-commit-linux-containered job and VersionSelectorScript.groovy. Decide whether to retain the Node.js version split or move all containers, verify host disk space, and confirm the CI job works with the selected Ubuntu version.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ubuntu
Domain
build-system, ci-cd, infrastructure
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.