<commit_before>#!/usr/bin/env bash

set -e

sudo /opt/google-cloud-sdk/bin/gcloud --quiet components update --version 146.0.0
sudo /opt/google-cloud-sdk/bin/gcloud --quiet components install kubectl
echo $GCLOUD_SERVICE_KEY | base64 --decode -i > ${HOME}/gcloud-service-key.json
sudo /opt/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
sudo /opt/google-cloud-sdk/bin/gcloud config set project $PROJECT_NAME
sudo /opt/google-cloud-sdk/bin/gcloud --quiet config set container/cluster $DEV_CLUSTER_NAME

sudo /opt/google-cloud-sdk/bin/gcloud config set compute/zone ${CLOUDSDK_COMPUTE_ZONE}
sudo /opt/google-cloud-sdk/bin/gcloud --quiet container clusters get-credentials $DEV_CLUSTER_NAME
<commit_msg>[#686] Set current user to owner of .config directory in CI<commit_after>#!/usr/bin/env bash

set -e
sudo chown -R $USER /home/ubuntu/.config
sudo /opt/google-cloud-sdk/bin/gcloud --quiet components update #--version 146.0.0
sudo /opt/google-cloud-sdk/bin/gcloud --quiet components install kubectl
echo $GCLOUD_SERVICE_KEY | base64 --decode -i > ${HOME}/gcloud-service-key.json
sudo /opt/google-cloud-sdk/bin/gcloud auth activate-service-account --key-file ${HOME}/gcloud-service-key.json
sudo /opt/google-cloud-sdk/bin/gcloud config set project $PROJECT_NAME
sudo /opt/google-cloud-sdk/bin/gcloud --quiet config set container/cluster $DEV_CLUSTER_NAME

sudo /opt/google-cloud-sdk/bin/gcloud config set compute/zone ${CLOUDSDK_COMPUTE_ZONE}
sudo /opt/google-cloud-sdk/bin/gcloud --quiet container clusters get-credentials $DEV_CLUSTER_NAME

{'fraction_non_alphanumeric': 0.12868801004394226, 'fraction_numerical': 0.010671688637790333, 'mean_word_length': 4.403389830508474, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3181231', 'n_tokens_mistral': 577, 'n_tokens_neox': 541, 'n_words': 125}