<commit_before>#!/bin/bash

set -Eeuxo pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )/.."

release=$(echo cci-$1-${CIRCLE_SHA1}| cut -c 1-50)

function cleanup {
    helm del --tiller-namespace helm-ci --purge ${release}
}
trap cleanup EXIT

helm install --tiller-namespace helm-ci --namespace helm-ci -f .circleci/values/$1.yaml -n ${release} ./helm/charts/$1

n=0
until [[ $n -ge 5 ]]; do<commit_msg>ci: Use unix time when testing helm charts<commit_after>#!/bin/bash

set -Eeuxo pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )/.."

release=$(echo cci-${date +%s}-$1-${CIRCLE_SHA1}| cut -c 1-50)

function cleanup {
    helm del --tiller-namespace helm-ci --purge ${release}
}
trap cleanup EXIT

helm install --tiller-namespace helm-ci --namespace helm-ci -f .circleci/values/$1.yaml -n ${release} ./helm/charts/$1

n=0
until [[ $n -ge 5 ]]; do
{'fraction_non_alphanumeric': 0.19098457888493475, 'fraction_numerical': 0.02372479240806643, 'mean_word_length': 3.5376344086021505, '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': '475111', 'n_tokens_mistral': 344, 'n_tokens_neox': 318, 'n_words': 87}