Bump node version in builder/build.sh (#3210)

In PR #3153, Angular dependencies were upgraded to 22.x, which requires Node.js >= 24.15.0 or >= 22.22.3, and build.gradle was updated to use Node 24.19.0. However, the Cloud Build builder container image script release/builder/build.sh was missed and remained on 22.12.0, causing the :console-webapp:buildConsoleWebapp task to fail during weekly deployment builds on Google Cloud Build.

BUG= http://b/547933107
This commit is contained in:
gbrodman
2026-08-17 19:41:49 +00:00
committed by GitHub
parent 3dacd6c0b1
commit d1a4edf95d
2 changed files with 4 additions and 2 deletions
+3 -2
View File
@@ -51,9 +51,10 @@ apt-get install python3 -y
apt-get install npm -y
npm cache clean -f
npm install -g n
# Retrying because fails are possible for node.js intallation. See
# Retrying because fails are possible for node.js installation. See
# https://github.com/nodejs/build/issues/1993
for i in {1..5}; do n 22.12.0 && break || sleep 15; done
# Keep this version up to date with the node block in the root build.gradle file
for i in {1..5}; do n 24.19.0 && break || sleep 15; done
# Install gp_dump
apt-get install postgresql-client-17 procps -y