build
build copied to clipboard
Update sharedlib containers/host(?) to Ubuntu 20.04 or 22.04
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.
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).
Our policy says
The Build WG will keep build configuration required for a release line for 6 months after the release goes End-of-Life, in case further build or test runs are required. After that the configuration will be removed.
So we'd need to wait until October before removing anything that ends with Node.js 12 (but we could still move tests for existing releases onto newer versions of OS).
This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.
I added some x64 Ubuntu 22.04 sharedlib containers in https://github.com/nodejs/build/pull/3371 along with a custom copied CI job to run on them for testing https://ci.nodejs.org/job/richardlau-node-test-commit-linux-containered/.
Added another set of executors: https://github.com/nodejs/build/pull/3588 Updated https://ci.nodejs.org/job/node-test-commit-linux-containered/