Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabby Anandan committed Aug 14, 2020
1 parent 99d2af5 commit 0c8fcae
Showing 1 changed file with 8 additions and 50 deletions.
58 changes: 8 additions & 50 deletions scripts/test-env.sh
Original file line number Diff line number Diff line change
@@ -1,52 +1,10 @@
#!/bin/bash

# Test if docker exist
if which docker >/dev/null; then
echo "docker is ready"
else
echo "docker is not ready"
fi

# Test if minikube exist
if which minikube >/dev/null; then
echo "minikube is ready"
else
echo "minikube is not ready"
fi

# Test if helm exist
if which helm >/dev/null; then
echo "helm is ready"
else
echo "helm is not ready"
fi

# Test if kubectl exist
if which kubectl >/dev/null; then
echo "kubectl is ready"
else
echo "kubectl is not ready"
fi

# Test if k9s exist
if which k9s >/dev/null; then
echo "k9s is ready"
else
echo "k9s is not ready"
fi

# Test if java exist
if which java >/dev/null; then
echo "java is ready"
else
echo "java is not ready"
fi

# Test if mvn exist
if which mvn >/dev/null; then
echo "mvn is ready"
else
echo "mvn is not ready"
fi


for i in docker minikube helm kubectl k9s java mvn
do
if which $i >/dev/null; then
echo "$i is ready"
else
echo "$i is not ready"
fi
done

0 comments on commit 0c8fcae

Please sign in to comment.