-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
34 lines (23 loc) · 840 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
include makefiles/shared.mk
include makefiles/go.mk
include makefiles/sqlc.mk
include makefiles/openapi.mk
include makefiles/docker.mk
include makefiles/kind.mk
include makefiles/skaffold.mk
build: build-goose build-todo-service
bootstrap: bootstrap-deployment
deploy: deploy-skaffold
run: run-skaffold
dev: dev-skaffold
debug: debug-skaffold
.PHONY: build-goose build-todo-service bootstrap-deployment
build-goose: ## Build goose
$(info $(_bullet) Building <goose>)
$(GO) build -o bin/goose ./cmd/goose
build-todo-service: ## Build todo-service
$(info $(_bullet) Building <todo-service>)
$(GO) build -o bin/todo-service ./cmd/todo-service
bootstrap-deployment: $(KUBECTL) ## Bootstrap deployment
$(info $(_bullet) Bootstraping <deployment>)
$(KUBECTL) apply --context $(BOOTSTRAP_CONTEXT) -k ops/bootstrap/overlays/local