Loading
Backport Node 22.22.3 bump and pnpm support to 5-63-stable
What does this MR do?
Backports the following changes from master to 5-63-stable so a 5.63.z builder image can be tagged for use by the 19-2-stable branch of omnibus-gitlab:
- !496 (merged) (Bump Node Version to 22.22.3): bumps
NODE_VERSIONfrom22.12.0to22.22.3indocker/VERSIONS. Required because pnpm needs Node.js>= 22.13. - !498 (merged) (Add pnpm support):
- Adds the
pnpmsnippet (docker/snippets/pnpm) installing pnpm globally via npm and verifying the installation - Pins
PNPM_VERSION=11.11.0indocker/VERSIONS - Adds
pnpmto the default snippets list indocker/scripts/snippets.rb - Updates the AmazonLinux 2 (x86_64 and arm64) Dockerfiles to install pnpm after Node.js, since they use a platform-specific Node installation
- Adds the
Why is this needed?
Prometheus 3.13.2 requires pnpm (and a newer Node.js toolchain) to build its web UI assets. 19-2-stable in omnibus-gitlab is built with builder 5.63.1, and bumping the stable branch to a newer builder minor (5.66.0) would pull in all unrelated builder changes in between. Backporting only these changes onto 5-63-stable allows tagging a 5.63.z patch release that omnibus-gitlab!9746 (merged) (Bump Prometheus to version 3.13.2 on 19-2-stable) can use instead of 5.66.0.
Related links
- omnibus-gitlab backport MR: omnibus-gitlab!9746 (merged)
- Original omnibus-gitlab MR: omnibus-gitlab!9666 (merged)
- Related issue: omnibus-gitlab#10031 (closed)
Signed-off-by: psingh29 <psingh@gitlab.com>