Sha256: 4dd54a92270a8a48129d9a47bdd2f2cdd9d1faf0f9f1924efc1e3508c67f593b

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.9.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.9.0 or greater.\033[0m"
fi

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
kubernetes-deploy-0.23.0 bin/setup
kubernetes-deploy-0.22.0 bin/setup