1+ #! /bin/bash
2+
3+ echo ' Running System Checks'
4+
5+ if hash ibmcloud 2> /dev/null
6+ then
7+ printf ' \xE2\x9C\x85 IBM Cloud CLI \n'
8+ else
9+ printf ' \xE2\x9D\x8C IBM Cloud CLI \n \n'
10+
11+ printf ' Download the IBM Cloud CLI using the links below: \n'
12+ printf ' For All Users: https://cloud.ibm.com/docs/cli/reference/ibmcloud?topic=cloud-cli-install-ibmcloud-cli \n \n '
13+ fi
14+
15+ if hash git 2> /dev/null
16+ then
17+ printf ' \xE2\x9C\x85 Git CLI \n'
18+ else
19+ printf ' \xE2\x9D\x8C Git CLI \n \n'
20+
21+ printf ' Download the Git CLI using the links below: \n'
22+ printf ' For All Users: https://git-scm.com/book/en/v2/Getting-Started-Installing-Git \n \n'
23+ fi
24+
25+ if hash crc 2> /dev/null
26+ then
27+ printf ' \xE2\x9C\x85 CRC \n'
28+ else
29+ printf ' \xE2\x9D\x8C CRC \n \n'
30+
31+ printf ' * A RedHat Account is Required * \n'
32+ printf ' Download CRC using the links below: \n'
33+ printf ' For All Users: https://cloud.redhat.com/openshift/install/crc/installer-provisioned \n \n'
34+ fi
35+
36+ if hash minikube 2> /dev/null
37+ then
38+ printf ' \xE2\x9C\x85 Minikube \n'
39+ else
40+ printf ' \xE2\x9D\x8C Minikube \n \n'
41+
42+ printf ' Download Minikube using the links below: \n'
43+ printf ' For All Users: https://kubernetes.io/docs/tasks/tools/install-minikube/ \n \n'
44+ fi
45+
46+ if hash docker 2> /dev/null
47+ then
48+ printf ' \xE2\x9C\x85 Docker CLI \n'
49+ else
50+ printf ' \xE2\x9D\x8C Docker CLI \n \n'
51+
52+ printf ' Download the Docker CLI using the links below: \n'
53+ printf ' For Mac: https://docs.docker.com/docker-for-mac/install/ \n'
54+ printf ' For Linux Users: https://docs.docker.com/engine/install/ubuntu/ \n'
55+ printf ' For Windows: https://docs.docker.com/docker-for-windows/install/ \n \n'
56+
57+ fi
58+
59+ if hash kubectl 2> /dev/null
60+ then
61+ printf ' \xE2\x9C\x85 Kubernetes CLI \n'
62+ else
63+ printf ' \xE2\x9D\x8C Kubernetes CLI \n \n'
64+
65+ printf ' Download the Kubernetes CLI using the links below: \n'
66+ printf ' For All Users: https://kubernetes.io/docs/tasks/tools/install-kubectl/ \n \n'
67+ fi
68+
69+ if hash oc 2> /dev/null
70+ then
71+ printf ' \xE2\x9C\x85 Openshift CLI \n'
72+ else
73+ printf ' \xE2\x9D\x8C Openshift CLI \n \n'
74+
75+ printf ' Download the Openshift CLI using the links below: \n'
76+ printf ' For All Users: https://mirror.openshift.com/pub/openshift-v4/clients/oc/latest/ \n \n'
77+ fi
78+
79+ if hash tkn 2> /dev/null
80+ then
81+ printf ' \xE2\x9C\x85 Tekton CLI \n'
82+ else
83+ printf ' \xE2\x9D\x8C Tekton CLI \n \n'
84+
85+ printf ' Download the Tekton CLI using the links below: \n'
86+ printf ' For All Users: https://github.com/tektoncd/cli#installing-tkn \n \n'
87+ fi
88+
89+ if hash argocd 2> /dev/null
90+ then
91+ printf ' \xE2\x9C\x85 Argo CLI \n'
92+ else
93+ printf ' \xE2\x9D\x8C Argo CLI \n \n'
94+
95+ printf ' Download the Argo CLI using the links below: \n'
96+ printf ' For All Users: https://argoproj.github.io/argo-cd/cli_installation/ \n \n'
97+ fi
0 commit comments