Skip to content

Commit

Permalink
Add retry to cloud build node installation (#2210)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptkach authored Nov 6, 2023
1 parent 0847124 commit e647d4e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion release/builder/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ apt-get install curl -y
apt-get install npm -y
npm cache clean -f
npm install -g n
n 16.19.0
# Retrying because fails are possible for node.js intallation. See -
# https://github.com/nodejs/build/issues/1993
for i in {1..5}; do n 16.19.0 && break || sleep 15; done
# Install gcloud
# Cribbed from https://cloud.google.com/sdk/docs/quickstart-debian-ubuntu
apt-get install lsb-release -y
Expand Down

0 comments on commit e647d4e

Please sign in to comment.