<commit_before>#!/bin/sh

echo "PULLING SECRETS" 

mkdir /var/secure;

aws s3 cp $S3_BUCKET/settings.php /var/www/Minds/engine/settings.php
aws s3 cp $S3_BUCKET/var/secure/email-public.key /var/secure/email-public.key
aws s3 cp $S3_BUCKET/var/secure/email-private.key /var/secure/email-private.key

# OAuth
aws s3 cp $S3_BUCKET/var/secure/oauth-priv.key /var/secure/oauth-priv.key
aws s3 cp $S3_BUCKET/var/secure/oauth-pub.key /var/secure/oauth-pub.key

# Sessions
aws s3 cp $S3_BUCKET/var/secure/sessions-priv.key /var/secure/sessions-priv.key
aws s3 cp $S3_BUCKET/var/secure/sessions-pub.key /var/secure/sessions-pub.key

aws s3 cp $S3_BUCKET/var/secure/google.sheets.key.json /var/secure/google.sheets.key.json

chmod -xr /var/secure/

echo "PULLED SECRETS";<commit_msg>(feat): download cockroachdb ssl creds<commit_after>#!/bin/sh

echo "PULLING SECRETS" 

mkdir /var/secure;

aws s3 cp $S3_BUCKET/settings.php /var/www/Minds/engine/settings.php
aws s3 cp $S3_BUCKET/var/secure/email-public.key /var/secure/email-public.key
aws s3 cp $S3_BUCKET/var/secure/email-private.key /var/secure/email-private.key

# OAuth
aws s3 cp $S3_BUCKET/var/secure/oauth-priv.key /var/secure/oauth-priv.key
aws s3 cp $S3_BUCKET/var/secure/oauth-pub.key /var/secure/oauth-pub.key

# Sessions
aws s3 cp $S3_BUCKET/var/secure/sessions-priv.key /var/secure/sessions-priv.key
aws s3 cp $S3_BUCKET/var/secure/sessions-pub.key /var/secure/sessions-pub.key

# Cockroach
aws s3 cp -R $S3_BUCKET/var/secure/cockroachdb /var/secure/cockroachdb --recursive

aws s3 cp $S3_BUCKET/var/secure/google.sheets.key.json /var/secure/google.sheets.key.json

chmod -xr /var/secure/

echo "PULLED SECRETS";
{'fraction_non_alphanumeric': 0.13917216556688664, 'fraction_numerical': 0.020395920815836834, 'mean_word_length': 4.085365853658536, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6120004', 'n_tokens_mistral': 713, 'n_tokens_neox': 717, 'n_words': 119}