mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 11:16:04 +02:00
Add retry to cloud build node installation (#2210)
This commit is contained in:
parent
08471242df
commit
e647d4e215
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue