-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
41 lines (28 loc) · 1.33 KB
/
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
38
39
40
41
check_swagger_install:
which swagger || go get -u github.com/go-swagger/go-swagger/cmd/swagger
swagger: check_swagger_install
swagger generate spec -o ./services/docs/swagger.yaml --scan-models
update_go_deps:
bazelisk run //:gazelle -- update-repos -from_file=go.mod -to_macro=deps.bzl%go_dependencies
update:
bazelisk run //:gazelle update
protos:
cd ./pkg/protos && make protos
push_user:
bazel run //qpkg/user:push_image --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64
push_auth:
bazel run //pkg/auth:push_image --platforms=@io_bazel_rules_go//go/toolchain:linux_amd64
docker_build_search:
docker build -t johnnys318/royalafg_search:latest --build-arg service=./services/search/main.go .
docker_build_user:
docker build -t johnnys318/royalafg_user:latest --build-arg service=./services/user/main.go .
docker_build_auth:
docker build -t johnnys318/royalafg_auth:latest --build-arg service=./services/auth/main.go .
docker_build_poker_matchmaker:
docker build -t johnnys318/royalafg_poker_match:latest --build-arg service=./services/poker-matchmaker/main.go .
docker_build_poker:
docker build -t johnnys318/royalafg_poker:latest --build-arg service=./services/poker/main.go .
docker_build_bank:
docker build -t johnnys318/royalafg_bank:latest --build-arg service=./services/bank/main.go .
update_mocks:
mockery --all --keeptree