From 7f1a5b7a21278e5fbf792e077d33817277173f87 Mon Sep 17 00:00:00 2001 From: Ben Bangert Date: Thu, 30 May 2019 07:49:36 -0700 Subject: [PATCH] fix: turn off interactive gcloud prompts --- .circleci/install-content-server.sh | 3 ++- _scripts/install_all.sh | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.circleci/install-content-server.sh b/.circleci/install-content-server.sh index 88b67747ca..ae189838b7 100755 --- a/.circleci/install-content-server.sh +++ b/.circleci/install-content-server.sh @@ -5,7 +5,8 @@ DIR=$(dirname "$0") if grep -e "fxa-content-server" -e 'all' $DIR/../packages/test.list; then curl -O https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-248.0.0-linux-x86_64.tar.gz tar zxvf google-cloud-sdk-248.0.0-linux-x86_64.tar.gz google-cloud-sdk - ./google-cloud-sdk/install.sh + CLOUDSDK_CORE_DISABLE_PROMPTS=1 ./google-cloud-sdk/install.sh + source google-cloud-sdk/path.bash.inc sudo apt-get install -y graphicsmagick mkdir -p config cp ../version.json ./ diff --git a/_scripts/install_all.sh b/_scripts/install_all.sh index 4b6ca36dc2..9367342449 100755 --- a/_scripts/install_all.sh +++ b/_scripts/install_all.sh @@ -73,8 +73,10 @@ docker pull redis docker pull mysql/mysql-server:5.6 -gcloud components install cloud-firestore-emulator +gcloud -q components update -gcloud components install pubsub-emulator +gcloud -q components install cloud-firestore-emulator + +gcloud -q components install pubsub-emulator ln -sf node_modules/.bin/pm2 pm2