-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathsanity.sh
79 lines (67 loc) · 1.4 KB
/
sanity.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
#!/bin/sh
# Check to make sure git is configured with your name, email and custom settings.
# git config --list
# Sanity check to see if you can run some of the tools we installed.
# Ruby
if which go; then
echo "Go (GoLang) *Installed*"
go version
else
echo "Go (GoLang) *Not Installed*"
fi
# Ruby
if which ruby; then
echo "Ruby *Installed*"
ruby --version
else
echo "Ruby *Not Installed*"
fi
# Node
if which node; then
echo "node *Installed*"
node --version
else
echo "node *Not Installed*"
fi
# Ansible
if which ansible; then
echo "ansible *Installed*"
ansible --version
else
echo "ansible *Not Installed*"
fi
# AWS
if which aws; then
echo "aws Client installed"
aws --version
else
echo "aws *Not Installed*"
fi
# Terraform
if which terraform; then
echo "terraform is installed"
terraform --version
else
echo "terraform *Not Installed*"
fi
# If you're using Docker Desktop with WSL 2, these should be accessible too.
if which docker; then
docker --version
# docker info
# docker-compose --version
else
echo "Docker *Not Installed*"
fi
if which sqlplus; then
echo "Oracle Database Client is installed"
sqlplus -v
else
echo "Oracle Database Client *Not Installed*"
fi
if which sqlite3; then
echo "Sqlite3 is installed"
sqlite3 --version
else
echo "Sqlite3 *Not Installed*"
fi
sqlite3 --version