-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
26 lines (21 loc) · 829 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
.PHONY: compose build publish helm-template
compose:
docker compose up --build
build:
docker build . -f Dockerfile -t broswen/notifi:latest
docker build . -f Dockerfile.router -t broswen/notifi-router:latest
docker build . -f Dockerfile.delivery -t broswen/notifi-delivery:latest
docker build . -f Dockerfile.poller -t broswen/notifi-poller:latest
publish: build
docker push broswen/notifi:latest
docker push broswen/notifi-router:latest
docker push broswen/notifi-delivery:latest
docker push broswen/notifi-poller:latest
helm-template:
helm template api k8s/api > k8s/api.yaml
helm template router k8s/router > k8s/router.yaml
helm template delivery k8s/delivery > k8s/delivery.yaml
helm template poller k8s/poller > k8s/poller.yaml
test: helm-template
go test ./...
kubeconform -summary -strict ./k8s/*.yaml