<commit_before>#!/bin/bash -v

# Add js build steps here (npm, etc.)
npm install
npm run build

# 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>Build gradle for api<commit_after>#!/bin/bash -v

# Add js build steps here (npm, etc.)
gradle build

# 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.1178343949044586, 'fraction_numerical': 0.012738853503184714, 'mean_word_length': 4.3760683760683765, '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': '6673579', 'n_tokens_mistral': 226, 'n_tokens_neox': 208, 'n_words': 69}