<commit_before>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
<commit_msg>Fix installation of google cloud SDK<commit_after>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 /usr/local/opt
rm ${out}

ln -s /usr/local/opt/google-cloud-sdk/bin/gcloud /usr/local/bin/gcloud

echo "Installing gcloud..."
/usr/local/opt/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 | /usr/local/bin/gcloud components install core gsutil bq kubectl docker-credential-gcr cloud_sql_proxy

{'fraction_non_alphanumeric': 0.15543328748280605, 'fraction_numerical': 0.015130674002751032, 'mean_word_length': 4.123239436619718, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '765677', 'n_tokens_mistral': 565, 'n_tokens_neox': 551, 'n_words': 107}