-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
52 lines (40 loc) · 1.87 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
44
45
46
47
48
49
50
51
52
.PHONY: build-and-push-daemon
build-and-push-daemon:
bash scripts/build-and-push-daemon.sh
.PHONY: build-daemon
build-daemon:
bash scripts/build-daemon.sh
.PHONY: push-daemon
push-daemon:
bash scripts/push-daemon.sh
.PHONY: deploy-lambdas-nano-testnet
deploy-lambdas-nano-testnet:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage nano --region eu-central-1 --aws-profile nano-testnet
.PHONY: deploy-lambdas-ekvilibro-testnet
deploy-lambdas-ekvilibro-testnet:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage ekvilibro --region eu-central-1 --aws-profile ekvilibro
.PHONY: deploy-lambdas-ekvilibro-mainnet
deploy-lambdas-ekvilibro-mainnet:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage ekvi-main --region eu-central-1 --aws-profile ekvilibro
.PHONY: deploy-lambdas-dev-testnet
deploy-lambdas-dev-testnet:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage dev-testnet --region eu-central-1
.PHONY: deploy-lambdas-testnet
deploy-lambdas-testnet:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage testnet --region eu-central-1
.PHONY: deploy-lambdas-mainnet-staging
deploy-lambdas-mainnet-staging:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage mainnet-stg --region eu-central-1
.PHONY: deploy-lambdas-mainnet
deploy-lambdas-mainnet:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless deploy --stage mainnet --region eu-central-1
.PHONY invoke-local:
invoke-local:
AWS_SDK_LOAD_CONFIG=1 yarn workspace wallet-service run serverless invoke local --function $(FUNCTION) --stage dev-testnet --region eu-central-1
.PHONY: migrate
migrate:
@echo "Migrating..."
npx sequelize-cli db:migrate
.PHONY: new-migration
new-migration:
npx sequelize migration:generate --name "$(NAME)"