-
Notifications
You must be signed in to change notification settings - Fork 597
Expand file tree
/
Copy pathMakefile
More file actions
78 lines (60 loc) · 1.59 KB
/
Copy pathMakefile
File metadata and controls
78 lines (60 loc) · 1.59 KB
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
72
73
74
75
76
77
terraform_context='terraform'
module='-'
environment=''
shell_command=''
shell_simple_command=''
glob='-'
cluster='all'
.PHONY: install
install:
yarn install
.PHONY: build
build: install
yarn build
.PHONY: warning
warning:
@echo "Note: 'make serve' now does a full static build. For dev mode, use 'make start' instead."
.PHONY: serve
serve: warning build
yarn serve
.PHONY: start
start: install
yarn start
.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: ide
ide:
bash hack/shell.sh $(environment) ide
.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: pre-provision
pre-provision:
bash hack/pre-provision-resources.sh $(environment) $(action)
.PHONY: create-infrastructure
create-infrastructure:
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
bash hack/create-infrastructure.sh $(environment) $(cluster)
.PHONY: destroy-infrastructure
destroy-infrastructure:
aws ecr-public get-login-password --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
bash hack/destroy-infrastructure.sh $(environment) $(cluster)
.PHONY: deploy-ide
deploy-ide:
bash hack/deploy-ide-cfn.sh $(environment)
.PHONY: destroy-ide
destroy-ide:
bash hack/destroy-ide-cfn.sh $(environment)
.PHONY: lint
lint:
yarn lint