Sha256: d42dc25a2df4efb2ae24d00f0bfdbae73c66c35a4fa49317fc7032288736c3e3

Contents?: true

Size: 708 Bytes

Versions: 2

Compression:

Stored size: 708 Bytes

Contents

#!/usr/bin/env bash
set -euo pipefail
IFS=$'\n\t'

bundle install

if [ ! -x "$(which minikube)" ]; then
  echo -e "\n\033[0;33mIf you're going to run the tests, please follow the minikube setup instructions for your operating system:\nhttps://kubernetes.io/docs/getting-started-guides/minikube/#installation\033[0m"
fi

if [ ! -x "$(which kubectl)" ]; then
  echo -e "\n\033[0;33mPlease install kubectl version 1.8.0 or higher:\nhttps://kubernetes.io/docs/user-guide/prereqs/\033[0m"
else
  KUBECTL_VERSION=$(kubectl version --short --client | grep -oe "v[[:digit:]\.]\+")
  echo -e "\n\033[0;32mKubectl version $KUBECTL_VERSION is already installed. This gem requires version v1.8.0 or greater.\033[0m"
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kubernetes-deploy-0.21.1 bin/setup
kubernetes-deploy-0.21.0 bin/setup