forked from aws-samples/eks-workshop-v2
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (33 loc) · 824 Bytes
/
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
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)
.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: create-infrastructure
create-infrastructure:
bash hack/create-infrastructure.sh $(environment)
.PHONY: destroy-infrastructure
destroy-infrastructure:
bash hack/destroy-infrastructure.sh $(environment)