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

set -e
set -u
set -o pipefail

function main() {
    local scriptdir=$(dirname "$(readlink -f "$0")")
    pushd "$scriptdir" > /dev/null

    . ./templates.env

    echo "JENKINS_VERSION: $JENKINS_VERSION"
    echo "MASTER_IMAGE_VERSION: $MASTER_IMAGE_VERSION"
    echo "SLAVE_IMAGE_VERSION: $SLAVE_IMAGE_VERSION"
    echo "JENKINS_HOST: $JENKINS_HOST"
    echo "LETSENCRYPT_EMAIL: $LETSENCRYPT_EMAIL"

    echo 'Generating docker-compose.yml from template: ./templates/docker-compose.yml'

    sed "s/@MASTER_IMAGE_VERSION@/$MASTER_IMAGE_VERSION/g" ./templates/docker-compose.yml \
        | sed "s/@SLAVE_IMAGE_VERSION@/$SLAVE_IMAGE_VERSION/g" \<commit_msg>Remove function keyword from main<commit_after>#!/usr/bin/env bash

set -e
set -u
set -o pipefail

main() {
    local scriptdir=$(dirname "$(readlink -f "$0")")
    pushd "$scriptdir" > /dev/null

    . ./templates.env

    echo "JENKINS_VERSION: $JENKINS_VERSION"
    echo "MASTER_IMAGE_VERSION: $MASTER_IMAGE_VERSION"
    echo "SLAVE_IMAGE_VERSION: $SLAVE_IMAGE_VERSION"
    echo "JENKINS_HOST: $JENKINS_HOST"
    echo "LETSENCRYPT_EMAIL: $LETSENCRYPT_EMAIL"

    echo 'Generating docker-compose.yml from template: ./templates/docker-compose.yml'

    sed "s/@MASTER_IMAGE_VERSION@/$MASTER_IMAGE_VERSION/g" ./templates/docker-compose.yml \
        | sed "s/@SLAVE_IMAGE_VERSION@/$SLAVE_IMAGE_VERSION/g" \
{'fraction_non_alphanumeric': 0.1299072091363312, 'fraction_numerical': 0.0014275517487508922, 'mean_word_length': 4.007142857142857, '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': '5881808', 'n_tokens_mistral': 556, 'n_tokens_neox': 516, 'n_words': 95}