<commit_before>#!/bin/bash -v

# Add js build steps here (npm, etc.)
pushd ../api
/opt/gradle/bin/gradle build
popd

# Fetch AWS ECR variables
version=$1
chmod 700 fetch.sh
./fetch.sh $version > variables.json

# Build docker image with packer
packer="/usr/local/bin/packer"
$packer build -var-file=variables.json backend.json<commit_msg>Proper dir cuz i'm an idiot<commit_after>#!/bin/bash -v

# Add js build steps here (npm, etc.)
pushd ..
/opt/gradle/bin/gradle build
popd

# Fetch AWS ECR variables
version=$1
chmod 700 fetch.sh
./fetch.sh $version > variables.json

# Build docker image with packer
packer="/usr/local/bin/packer"
$packer build -var-file=variables.json backend.json
{'fraction_non_alphanumeric': 0.1282798833819242, 'fraction_numerical': 0.011661807580174927, 'mean_word_length': 4.088888888888889, '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': '186771', 'n_tokens_mistral': 258, 'n_tokens_neox': 237, 'n_words': 73}