-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
37 lines (29 loc) · 811 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
.PHONY: images
images: client-image api-image spiffe-helper-image
.PHONY: spiffe-helper-image
spiffe-helper-image: Dockerfile
docker build --target spiffe-helper -t spiffe-helper .
docker tag spiffe-helper:latest spiffe-helper:latest-local
.PHONY: client-image
client-image: Dockerfile
docker build --target client-service -t client-service .
docker tag client-service:latest client-service:latest-local
.PHONY: service-image
api-image: Dockerfile
docker build --target api-service -t api-service .
docker tag api-service:latest api-service:latest-local
.PHONY: cluster-create
cluster-create:
./1-cluster-create.sh
.PHONY: cluster-delete
cluster-delete:
./8-cluster-delete.sh
.PHONY: deploy
deploy: images
./3-deploy.sh
.PHONY: test
test:
./4-call-client.sh
.PHONY: clean
clean:
./clean.sh