-
Notifications
You must be signed in to change notification settings - Fork 33
/
Makefile
71 lines (69 loc) · 2.44 KB
/
Makefile
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
# Copyright (C) 2021 Michael Joseph Walsh - All Rights Reserved
# You may use, distribute and modify this code under the
# terms of the the license.
#
# You should have received a copy of the license with
# this file. If not, please email <[email protected]>
.PHONY: all install-dependencies pull-class-images install-k3s-air-gap-image start install start-registry delete-registry uninstall-registry start-pullthrough stop-pullthrough delete-pullthrough uninstall-pullthrough start-cluster delete-cluster patch-coredns install-traefik uninstall-traefik install-gitlab uninstall-gitlab install-drone uninstall-drone install-taiga uninstall-taiga install-sonarqube uninstall-sonarqube install-heimdall uninstall-heimdall install-plantuml uninstall-plantuml decrypt-vault encrypt-vault load-cached-images
all: install-dependencies start install
start: start-pullthrough start-registry install-k3s-air-gap-image pull-class-images start-cluster patch-coredns
install: install-traefik install-gitlab install-drone install-taiga install-sonarqube install-heimdall install-plantuml
uninstall: delete-cluster
install-dependencies:
./install-dependencies.sh
start-pullthrough:
cd pullthrough-registry && ./install.sh
stop-pullthrough:
cd pullthrough-registry && ./stop.sh
delete-pullthrough:
cd pullthrough-registry && ./uninstall.sh
uninstall-pullthrough: delete-pullthrough
start-registry:
./start-registry.sh
delete-registry:
./delete-registry.sh
uninstall-registry: delete-registry
pull-class-images:
./pull-class-images.sh
install-k3s-air-gap-image:
cd k3s-air-gap-image && ./install.sh
start-cluster:
./start-cluster.sh
delete-cluster:
./delete-cluster.sh
patch-coredns:
cd coredns && ./patch.sh
install-traefik:
cd traefik && ./install.sh
uninstall-traefik:
cd traefik && ./uninstall.sh
install-gitlab:
cd gitlab && ./install.sh
uninstall-gitlab:
cd gitlab && ./uninstall.sh
install-drone:
cd drone && ./install.sh
uninstall-drone:
cd drone && ./uninstall.sh
install-taiga:
cd taiga && ./install.sh
uninstall-taiga:
cd taiga && ./uninstall.sh
install-sonarqube:
cd sonarqube && ./install.sh
uninstall-sonarqube:
cd sonarqube && ./uninstall.sh
install-heimdall:
cd heimdall2 && ./install.sh
uninstall-heimdall:
cd heimdall2 && ./uninstall.sh
install-plantuml:
cd plantuml-server && ./install.sh
uninstall-plantuml:
cd plantuml-server && ./uninstall.sh
load-cached-images:
./load-cached-containers.sh
decrypt-vault:
./decrypt-vault.sh
encrypt-vault:
./encrypt-vault.sh