Skip to content

Commit

Permalink
Add test environment script
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabby Anandan committed Aug 14, 2020
1 parent d2df064 commit 99d2af5
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
File renamed without changes.
52 changes: 52 additions & 0 deletions scripts/test-env.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
#!/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


0 comments on commit 99d2af5

Please sign in to comment.