-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Sabby Anandan
committed
Aug 14, 2020
1 parent
99d2af5
commit 0c8fcae
Showing
1 changed file
with
8 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |