<commit_before>#! /bin/sh

APP=league_app
DB=league_db
WEB=league_webserver
REPO=055326413375.dkr.ecr.us-east-1.amazonaws.com

docker tag $APP:latest $REPO/$APP:latest
docker tag $DB:latest $REPO/$DB:latest
docker tag $WEB:latest $REPO/$WEB:latest

$(aws ecr get-login)

docker push $REPO/$APP:latest
docker push $REPO/$DB:latest
docker push $REPO/$WEB:latest
<commit_msg>Update deploy script to use VERSION<commit_after>#! /bin/sh

APP=league_app
DB=league_db
WEB=league_webserver
REPO=055326413375.dkr.ecr.us-east-1.amazonaws.com
VERSION=$(cat VERSION)

docker tag $APP:$VERSION $REPO/$APP:latest
docker tag $DB:$VERSION $REPO/$DB:latest
docker tag $WEB:$VERSION $REPO/$WEB:latest

$(aws ecr get-login)

docker push $REPO/$APP:$VERSION
docker push $REPO/$DB:$VERSION
docker push $REPO/$WEB:$VERSION

{'fraction_non_alphanumeric': 0.14232209737827714, 'fraction_numerical': 0.03245942571785269, 'mean_word_length': 6.425925925925926, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1000603', 'n_tokens_mistral': 348, 'n_tokens_neox': 313, 'n_words': 67}