-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
39 lines (28 loc) · 852 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
35
36
37
38
39
build-image:
cd .config/docker/$(IMAGE) && \
docker build -t schedulia/$(IMAGE):$(VERSION) . && \
docker push schedulia/$(IMAGE):$(VERSION)
build:
cd ${SOURCE}/.deploy/${PROVIDER} && \
./build.sh
deploy:
cd ${SOURCE}/.deploy/${PROVIDER} && \
./deploy.sh
build-api-staging:
make build SOURCE=api PROVIDER=heroku
deploy-api-staging:
make deploy SOURCE=api PROVIDER=heroku
build-client-staging:
make build SOURCE=client PROVIDER=heroku
deploy-client-staging:
make deploy SOURCE=client PROVIDER=heroku
build-api-production:
make build SOURCE=api PROVIDER=cloudRun
deploy-api-production:
make deploy SOURCE=api PROVIDER=cloudRun
build-client-production:
make build SOURCE=client PROVIDER=cloudRun
deploy-client-production:
make deploy SOURCE=client PROVIDER=cloudRun
worker-logs:
heroku logs -a schedulia-api --dyno=worker --tail