-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
28 lines (18 loc) · 576 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
.PHONY : apply destroy apply-stroage destroy-storage apply-compute \
destroy-compute build-and-push build-image push-image up
apply : apply-storage apply-compute
destroy : destroy-storage destroy-compute
apply-storage :
terraform -chdir=storage apply
destroy-storage :
terraform -chdir=storage destroy
apply-compute :
terraform -chdir=compute apply
destroy-compute :
terraform -chdir=compute destroy
build-and-push : build-image push-image
build-image :
./build.sh
push-image :
docker push $(IMAGE_NAME)
up : apply-storage build-image push-image apply-compute