-
Notifications
You must be signed in to change notification settings - Fork 185
Updating Node.js
Karl Tarvas edited this page Jan 19, 2022
·
5 revisions
Node.js is a build-time dependency for Uyuni's frontend. Node should be kept up-to-date with a stable version that's in long-term support (LTS), please see Node's lifecycle.
Here's the checklist to update Node.
- Confirm that
nodejs-default
(available innodejs-common
) includes at least the version you want to update to (should be no-op sincenodejs-default
tracks the LTS lifecycle) - Update
engines.node
insusemanager-frontend/package.json
- Update
node-version
in all workflows in.github/workflows
that require it - Update Almalinux project config in the project configuration in
systemsmanagement:Uyuni:Master
to use the desired module stream for nodejs. - Backport the changes where necessary
- Check that the right nodejs package is in the
systemsmanagement:Uyuni:Master:Docker/uyuni-push-to-obs container
. If not, change the Dockerfile to force the installation of the right package. - Same thing for
Devel:Galaxy:Manager:4.2:Docker/suma-push-to-obs
and any newer versions if applicable. - Same thing for
Manager-4.1/susemanager-utils/testing/docker/4.1/uyuni-push-to-obs
*
*As of now, 4.1 is fixed to use nodejs 14. Unless v14 goes EOL during 4.1's lifecycle, we don't plan to upgrade nodejs on this version.