set -e

GCLOUD_SDK_TARBALL_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-354.0.0-darwin-x86_64.tar.gz"

out="/Users/se7entyse7en/google-cloud-sdk.tar.gz"
echo "Downloading gcloud into $out..."
curl -LsSo "$out" "$GCLOUD_SDK_TARBALL_URL" &> /dev/null
tar -zxf "$out" -C /tmp

echo "Installing gcloud..."
/tmp/google-cloud-sdk/install.sh --rc-path ~/.zshrc --path-update true --command-completion true --bash-completion true --install-python false -q

echo "Installing gcloud components..."
yes | /Users/se7entyse7en/google-cloud-sdk/bin/gcloud components install core gsutil bq kubectl docker-credential-gcr cloud_sql_proxy

set -e

GCLOUD_SDK_TARBALL_URL="https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-354.0.0-darwin-x86_64.tar.gz"

out="/Users/se7entyse7en/google-cloud-sdk.tar.gz"
echo "Downloading gcloud into $out..."
curl -LsSo "$out" "$GCLOUD_SDK_TARBALL_URL" &> /dev/null
tar -zxf "$out" -C /tmp

echo "Installing gcloud..."
/tmp/google-cloud-sdk/install.sh --rc-path ~/.zshrc --path-update true --command-completion true --bash-completion true --install-python false -q

echo "Installing gcloud components..."
yes | /tmp/google-cloud-sdk/bin/gcloud components install core gsutil bq kubectl docker-credential-gcr cloud_sql_proxy

Fix path for installing components of gcloud SDK
Fix path for installing components of gcloud SDK

Signed-off-by: Lou Marvin Caraig <5f33b97f6c357145640aa3022c2df12fd56c93cf@gmail.com>
