forked from aws-samples/eks-workshop-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
51 lines (39 loc) · 1.02 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
terraform_context='terraform'
module='-'
environment=''
shell_command=''
shell_simple_command=''
glob='-'
.PHONY: install
install:
cd website; npm install
.PHONY: serve
serve: install
bash hack/serve.sh
.PHONY: tf-fmt
tf-fmt:
cd ./terraform && terraform fmt --recursive
.PHONY: test
test:
bash hack/run-tests.sh $(environment) $(module) $(glob)
.PHONY: shell
shell:
bash hack/shell.sh $(environment) $(shell_command) $(shell_simple_command)
.PHONY: reset-environment
reset-environment:
bash hack/shell.sh $(environment) reset-environment
.PHONY: delete-environment
delete-environment:
bash hack/shell.sh $(environment) delete-environment
.PHONY: update-helm-versions
update-helm-versions:
bash hack/update-helm-versions.sh
.PHONY: verify-helm-metadata
verify-helm-metadata:
bash hack/verify-helm-metadata.sh
.PHONY: create-infrastructure
create-infrastructure:
bash hack/create-infrastructure.sh $(environment)
.PHONY: destroy-infrastructure
destroy-infrastructure:
bash hack/destroy-infrastructure.sh $(environment)