<commit_before>#!/bin/bash

set -eux

STACK_NAME=${STACK_NAME:-"overcloud"}
UPDATE=${UPDATE:-"0"}
CLEANUP=${CLEANUP:-"0"}
HEATCLIENT=${HEATCLIENT:-"0"}
STACK_OP=${STACK_OP:-"create"}
EXISTING=${EXISTING:-"--existing"}
TEMPLATES=${TEMPLATES:-"tripleo-heat-templates"}
ROLES_DATA=${ROLES_DATA:-"$(realpath roles_data.yaml)"}
COMMON_ENVIRONMENTS=${COMMON_ENVIRONMENTS:-"1"}
ENVIRONMENTS=${ENVIRONMENTS:-""}

if [ "$COMMON_ENVIRONMENTS" = "1" ]; then
    ENVIRONMENTS="-e $TEMPLATES/overcloud-resource-registry-puppet.yaml $ENVIRONMENTS"
    ENVIRONMENTS="-e $TEMPLATES/environments/puppet-pacemaker.yaml $ENVIRONMENTS"
fi

if [ "$UPDATE" = "1" ]; then
        STACK_OP="update"
    if [ "$EXISTING" = "0" ]; then
        EXISTING=""<commit_msg>Use default roles data<commit_after>#!/bin/bash

set -eux

STACK_NAME=${STACK_NAME:-"overcloud"}
UPDATE=${UPDATE:-"0"}
CLEANUP=${CLEANUP:-"0"}
HEATCLIENT=${HEATCLIENT:-"0"}
STACK_OP=${STACK_OP:-"create"}
EXISTING=${EXISTING:-"--existing"}
TEMPLATES=${TEMPLATES:-"tripleo-heat-templates"}
ROLES_DATA=${ROLES_DATA:-"$(realpath $TEMPLATES/roles_data.yaml)"}
COMMON_ENVIRONMENTS=${COMMON_ENVIRONMENTS:-"1"}
ENVIRONMENTS=${ENVIRONMENTS:-""}

if [ "$COMMON_ENVIRONMENTS" = "1" ]; then
    ENVIRONMENTS="-e $TEMPLATES/overcloud-resource-registry-puppet.yaml $ENVIRONMENTS"
    ENVIRONMENTS="-e $TEMPLATES/environments/puppet-pacemaker.yaml $ENVIRONMENTS"
fi

if [ "$UPDATE" = "1" ]; then
        STACK_OP="update"
    if [ "$EXISTING" = "0" ]; then
        EXISTING=""
{'fraction_non_alphanumeric': 0.2010652463382157, 'fraction_numerical': 0.009320905459387484, 'mean_word_length': 6.056338028169014, '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': '303613', 'n_tokens_mistral': 635, 'n_tokens_neox': 599, 'n_words': 72}