This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (33 loc) · 1.64 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
banner:
@echo "################################################################"
@echo "## ##"
@echo "## ::::::::: :::::::::: ::: :::::::: :::::::: ##"
@echo "## :+: :+: :+: :+: :+: :+: :+: ##"
@echo "## +:+ +:+ +:+ +:+ +:+ +:+ ##"
@echo "## +#+ +#++:++# +#+ +#+ +:+ +#++:++#++ ##"
@echo "## +#+ +#+ +#+ +#+ +#+ +#+ ##"
@echo "## #+# #+# #+# #+# #+# #+# #+# ##"
@echo "## ######### ########## ########## ######## ######## ##"
@echo "## ##"
@echo "################################################################"
@echo " "
istio: banner
@echo "[istio] Installing istio"
@./bin/istio-deploy.sh
terraform: banner terraform.init terraform.validate terraform.apply
terraform.init: banner
@echo "[terraform] Initializing cluster system services with terraform"
@./bin/terraform-init.sh
terraform.validate: banner
@echo "[terraform] Validate cluster system services with terraform"
@./bin/terraform-validate.sh
terraform.plan: banner
@echo "[terraform] Plan cluster system services with terraform"
@./bin/terraform-plan.sh
terraform.apply: banner
@echo "[terraform] Creating cluster system services with terraform"
@./bin/terraform-apply.sh
deploy: istio terraform
destroy:
@echo "[bootstrap] Destroying cluster infrastructure"
@cd terraform && terraform destroy -var-file="variables.tfvars"