forked from openshift-metal3/dev-scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
70 lines (46 loc) · 1.45 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
.PHONY: default all requirements configure ironic ocp_run install_config clean ocp_cleanup ironic_cleanup host_cleanup cache_cleanup registry_cleanup proxy_cleanup workingdir_cleanup podman_cleanup bell
default: requirements configure build_installer ironic install_config ocp_run bell
all: default
# Deploy cluster with assisted deployment flow
assisted: assisted_deployment bell
redeploy: ocp_cleanup ironic_cleanup build_installer ironic install_config ocp_run bell
requirements:
./01_install_requirements.sh
configure:
./02_configure_host.sh
build_installer:
./03_build_installer.sh
ironic:
./04_setup_ironic.sh
install_config:
./05_create_install_config.sh
ocp_run:
./06_create_cluster.sh
gather:
./must_gather.sh
clean: ocp_cleanup ironic_cleanup proxy_cleanup host_cleanup assisted_deployment_cleanup
assisted_deployment_cleanup:
./assisted_deployment.sh delete_all
ocp_cleanup:
./ocp_cleanup.sh
ironic_cleanup:
./ironic_cleanup.sh
host_cleanup:
./host_cleanup.sh
realclean: clean cache_cleanup registry_cleanup workingdir_cleanup podman_cleanup
cache_cleanup:
./cache_cleanup.sh
registry_cleanup:
./registry_cleanup.sh
workingdir_cleanup:
./workingdir_cleanup.sh
podman_cleanup:
./podman_cleanup.sh
proxy_cleanup:
./proxy_cleanup.sh
bell:
@echo "Done!" $$'\a'
assisted_deployment:
./assisted_deployment.sh install_assisted_service
assisted_deployment_requirements:
./assisted_deployment.sh install_prerequisites_assisted_service