<commit_before>#!/bin/bash
#
# Istio/DIND installer

ISTIO_VERSION="0.2.7"
ISTIO_ADDONS="${ISTIO_ADDONS:-}"
ISTIO_BOOKINFO="${ISTIO_BOOKINFO:-}"
export ISTIO_INGRESS_PORT=32000

if [ $(uname) = Darwin ]; then
  readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}
else
  readlinkf(){ readlink -f "$1"; }
fi

OS="$(uname)"
if [ "x${OS}" = "xDarwin" ] ; then
  OSEXT="osx"
else<commit_msg>Add k8s BUILD_* env vars until dind 1.8 is released.<commit_after>#!/bin/bash
#
# Istio/DIND installer

ISTIO_VERSION="0.2.7"
ISTIO_ADDONS="${ISTIO_ADDONS:-}"
ISTIO_BOOKINFO="${ISTIO_BOOKINFO:-}"
export ISTIO_INGRESS_PORT=32000
# TODO: Remove when dind supports 1.8.
export BUILD_KUBEADM=y
export BUILD_HYPERKUBE=y

if [ $(uname) = Darwin ]; then
  readlinkf(){ perl -MCwd -e 'print Cwd::abs_path shift' "$1";}
else
  readlinkf(){ readlink -f "$1"; }
fi

OS="$(uname)"
if [ "x${OS}" = "xDarwin" ] ; then
  OSEXT="osx"
else
{'fraction_non_alphanumeric': 0.18845315904139434, 'fraction_numerical': 0.027233115468409588, 'mean_word_length': 5.2517006802721085, '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': '4237222', 'n_tokens_mistral': 416, 'n_tokens_neox': 397, 'n_words': 84}