-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
43 lines (31 loc) · 1.41 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
42
43
AWS_ACCESS_KEY_ID ?=
AWS_SECRET_ACCESS_KEY ?=
release:
goreleaser
rm -rf ./dist
build-linux-amd64:
GOOS=linux GOARCH=amd64 go build -o tergum-linux-amd64
dev-test-all-implementation1: dev-test-local-implementation1 dev-test-aws-implementation1
dev-test-local-implementation1:
go run tergum.go backup --implementation1 --config misc/example/config/tergum-local.json
dev-test-aws-implementation1:
go run tergum.go backup --implementation1 --config misc/example/config/tergum-aws.local.json
dev-test-all: dev-test-local dev-test-aws dev-test-local-yaml dev-test-aws-yaml
dev-test-local:
go run tergum.go backup --config misc/example/config/tergum-local-v3.json
dev-test-local-yaml:
go run tergum.go backup --config misc/example/config/tergum-local-v3.yaml
dev-test-aws:
go run tergum.go backup --config misc/example/config/tergum-aws-v3.local.json
dev-test-aws-yaml:
go run tergum.go backup --config misc/example/config/tergum-aws-v3.local.yaml
commit-go-mod-tidy:
git add go.sum
git commit -m "[auto] refactor: go mod tidy"
docker-build-and-push-all-images:
(cd misc/docker/mysql-with-tergum && make all)
(cd misc/docker/postgres-with-tergum && make all)
(cd misc/docker/postgres-with-mysqldump-mongodump-with-tergum && make all)
(cd misc/docker/postgres-with-mysqldump-with-tergum && make all)
(cd misc/docker/postgres-with-redis-with-tergum && make all)
(cd misc/docker/tergum-with-ca-certificates && make all)