-
Notifications
You must be signed in to change notification settings - Fork 0
/
installparty.sh
39 lines (35 loc) · 1009 Bytes
/
installparty.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
#!/bin/bash
##################### - Sources - ###########################
. "./lib/hashi.sh"
. "./lib/docker.sh"
. "./lib/kuber.sh"
. "./lib/jenk.sh"
##################### - FUNCT - #############################
help() {
echo ""
echo ""
echo "[IP]"
echo "This is Install Party. For help use '-h' flag."
echo "For installing a tool type installparty <tool> "
echo "eg. sudo installparty docker"
echo "You need to have superuser privilages."
echo "This tool works only on Debian operating systems."
echo ""
echo "[*] List of tools:"
cat ./vars.txt | sort
}
#############################################################
case "$1" in
"docker") docker ;;
"docker-compose") docker_compose ;;
"k3s") k3s ;;
"k3s-agent") k3s_agent ;;
"arkade") arkade ;;
"helm") helm ;;
"terraform") terraform ;;
"packer") packer ;;
"jenkins") jenkins ;;
"-h") help ;;
* ) help ;;
esac
exit 0