<commit_before>#!/usr/bin/env bash
#
# Install kubectl for controlling local and remote kubernetes clusters
# Install helm for managing charts on local and remote kubernetes clusters
# Install minikube and virtualbox for a local dev environment

set -o errexit

here=$(cd $(dirname $BASH_SOURCE); pwd)

if ! command -v kubectl >/dev/null 2>&1
then
  $here/gcloud_install.sh
fi

if ! command -v virtualbox >/dev/null 2>&1
then
  $here/virtualbox_install.sh
fi

if ! command -v minikube >/dev/null 2>&1
then
  $here/minikube_install.sh
fi
if ! kubectl config current-context
then
  minikube start
fi

if ! command -v helm >/dev/null 2>&1
then
  $here/helm_install.sh
fi
if ! helm version >/dev/null 2>&1<commit_msg>be sure to use the minikube context, not some GKE production context<commit_after>#!/usr/bin/env bash
#
# Install kubectl for controlling local and remote kubernetes clusters
# Install helm for managing charts on local and remote kubernetes clusters
# Install minikube and virtualbox for a local dev environment

set -o errexit

here=$(cd $(dirname $BASH_SOURCE); pwd)

if ! command -v kubectl >/dev/null 2>&1
then
  $here/gcloud_install.sh
fi

if ! command -v virtualbox >/dev/null 2>&1
then
  $here/virtualbox_install.sh
fi

if ! command -v minikube >/dev/null 2>&1
then
  $here/minikube_install.sh
fi
if ! kubectl config use-context minikube
then
  minikube start
fi

if ! command -v helm >/dev/null 2>&1
then
  $here/helm_install.sh
fi
if ! helm version >/dev/null 2>&1
{'fraction_non_alphanumeric': 0.09488559892328398, 'fraction_numerical': 0.013458950201884253, 'mean_word_length': 4.109965635738831, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 23, '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': '2203874', 'n_tokens_mistral': 535, 'n_tokens_neox': 516, 'n_words': 185}