-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
54 lines (45 loc) · 1.01 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
53
54
project ?= grow-prod
version ?= staging
repo ?= github_blinkkcode_starter
repo_url ?= [email protected]:blinkkcode/starter.git
dashboard_service_account ?= [email protected]
include Makefile.buildbot
install:
pip install grow
grow install
test:
grow build
npm run test
stage:
PATH=$(PATH):$(HOME)/bin grow stage \
--api-key=cae5efdd-f655-4648-bcb1-29c12c8cbe9d
stage-gae:
PATH=$(PATH):$(HOME)/bin grow deploy -f staging
gcloud app deploy \
-q \
--project=$(project) \
--version=$(version) \
--verbosity=error \
--no-promote \
app.yaml
deploy:
PATH=$(PATH):$(HOME)/bin grow deploy -f prod
gcloud app deploy \
-q \
--project=$(project) \
--version=$(version) \
--verbosity=error \
--promote \
app.yaml
deploy-dispatch:
gcloud app deploy \
-q \
--project=$(project) \
--verbosity=error \
dispatch.yaml
run:
dev_appserver.py --allow_skipped_files=true .
cloudbuild:
gcloud builds submit . \
--project=$(project) \
--config=cloudbuild.yaml