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

SKIP_CACHE=${1:-false}
CONTEXT_DIR=${2:-"."}
VERSION=${3:-"latest"}
INVENTORY_FILE_NAME=${4:-"local_inventory"}

INVENTORY_FILE_PATH="$CONTEXT_DIR"/"$INVENTORY_FILE_NAME"



ansible-playbook ${CONTEXT_DIR}/jenkins.yml \
    -i ${INVENTORY_FILE_PATH} \
    --private-key=~/.ssh/sepal/eu-central-1.pem
    --extra-vars "version=$VERSION secret_vars_file=~/.sepal/secret.yml skip_cache=$SKIP_CACHE"<commit_msg>Changes on Jenkins image<commit_after>#!/usr/bin/env bash

SKIP_CACHE=${1:-false}
CONTEXT_DIR=${2:-"."}
VERSION=${3:-"latest"}
INVENTORY_FILE_NAME=${4:-"local_inventory"}

INVENTORY_FILE_PATH="$CONTEXT_DIR"/"$INVENTORY_FILE_NAME"

export ANSIBLE_HOST_KEY_CHECKING=False


ansible-playbook ${CONTEXT_DIR}/jenkins.yml \
    -i ${INVENTORY_FILE_PATH} \
    --private-key=~cd /.ssh/sepal/eu-central-1.pem \
    --extra-vars "version=$VERSION secret_vars_file=~/.sepal/secret.yml skip_cache=$SKIP_CACHE"
{'fraction_non_alphanumeric': 0.1849096705632306, 'fraction_numerical': 0.010626992561105207, 'mean_word_length': 5.680851063829787, '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': '7305996', 'n_tokens_mistral': 391, 'n_tokens_neox': 369, 'n_words': 37}