Sha256: a38eb0bf18f19b0aa62d364a3f864b6d03c4f8c60e99c91de03bde24e3300953

Contents?: true

Size: 710 Bytes

Versions: 13

Compression:

Stored size: 710 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.22.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.22.0 or greater.\033[0m"
fi

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
krane-3.6.2 bin/setup
krane-3.6.1 bin/setup
krane-3.5.2 bin/setup
krane-3.5.1 bin/setup
krane-3.5.0 bin/setup
krane-3.4.2 bin/setup
krane-3.4.1 bin/setup
krane-3.4.0 bin/setup
krane-3.3.0 bin/setup
krane-3.2.0 bin/setup
krane-3.1.0 bin/setup
krane-3.0.1 bin/setup
krane-3.0.0 bin/setup