<commit_before>#!/bin/bash
oc cluster up $OC_CLUSTER_ARGS
oc login -u system:admin
oc cluster status
while [ $? -gt 0 ]
do
    sleep 5
    oc cluster status
done

sleep 30
<commit_msg>Provision storage in setup phase<commit_after>#!/bin/bash
SCRIPTDIR=`dirname $0`

oc cluster up $OC_CLUSTER_ARGS
oc login -u system:admin
oc cluster status
while [ $? -gt 0 ]
do
    sleep 5
    oc cluster status
done


sleep 30

# Setup persistent storage
for i in `seq 1 15`
do
    echo "Setup persistent storage ${i}"
    $SCRIPTDIR/provision-storage.sh "/tmp/mydir${i}" "pv-${i}"
done
oc get pv

{'fraction_non_alphanumeric': 0.1013745704467354, 'fraction_numerical': 0.020618556701030927, 'mean_word_length': 3.590551181102362, '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': '4369352', 'n_tokens_mistral': 224, 'n_tokens_neox': 208, 'n_words': 76}