Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Side by Side Diff: appengine/chromium_rietveld/Makefile

Issue 708863002: Fix 'make update' for initial deployments with a new GAE app-id. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Makefile to simplify some common AppEngine actions. 1 # Makefile to simplify some common AppEngine actions.
2 # Use 'make help' for a list of commands. 2 # Use 'make help' for a list of commands.
3 3
4 # Helper code to detect SDK location 4 # Helper code to detect SDK location
5 define DETECT_SDK 5 define DETECT_SDK
6 import os 6 import os
7 locations = [ 7 locations = [
8 "../google_appengine", 8 "../google_appengine",
9 "/usr/local/google_appengine", 9 "/usr/local/google_appengine",
10 ".locally/google_appengine", 10 ".locally/google_appengine",
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 serve_email: update_revision 58 serve_email: update_revision
59 $(DEV_APPSERVER) $(DEV_APPSERVER_FLAGS) --enable_sendmail . 59 $(DEV_APPSERVER) $(DEV_APPSERVER_FLAGS) --enable_sendmail .
60 60
61 serve_remote_email: update_revision 61 serve_remote_email: update_revision
62 $(DEV_APPSERVER) $(DEV_APPSERVER_FLAGS) --enable_sendmail --host 0.0.0.0 --admin_host 0.0.0.0 . 62 $(DEV_APPSERVER) $(DEV_APPSERVER_FLAGS) --enable_sendmail --host 0.0.0.0 --admin_host 0.0.0.0 .
63 63
64 update_revision: 64 update_revision:
65 @echo "---[Updating REVISION]---" 65 @echo "---[Updating REVISION]---"
66 @echo "$(VERSION_TAG)" >REVISION 66 @echo "$(VERSION_TAG)" >REVISION
67 67
68 update: update_revision mapreduce update_backend 68 update_frontend: update_revision mapreduce
69 @echo "---[Updating $(APPID)]---" 69 @echo "---[Updating $(APPID)]---"
70 $(APPCFG) $(APPCFG_FLAGS) update . --oauth2 --application $(APPID) --ver sion $(VERSION) 70 $(APPCFG) $(APPCFG_FLAGS) update . --oauth2 --application $(APPID) --ver sion $(VERSION)
71 71
72 update_backend: update_revision mapreduce 72 update_backend: update_revision mapreduce
73 @echo "---[Updating backend $(APPID)]---" 73 @echo "---[Updating backend $(APPID)]---"
74 $(APPCFG) $(APPCFG_FLAGS) backends update . --oauth2 --application $(APP ID) --version $(VERSION) 74 $(APPCFG) $(APPCFG_FLAGS) backends update . --oauth2 --application $(APP ID) --version $(VERSION)
75 75
76 update: update_frontend update_backend
77
76 upload: update 78 upload: update
77 79
78 deploy: update 80 deploy: update
79 81
80 update_indexes: 82 update_indexes:
81 $(APPCFG) $(APPCFG_FLAGS) update_indexes . --oauth2 --application $(APPI D) 83 $(APPCFG) $(APPCFG_FLAGS) update_indexes . --oauth2 --application $(APPI D)
82 84
83 vacuum_indexes: 85 vacuum_indexes:
84 $(APPCFG) $(APPCFG_FLAGS) vacuum_indexes . --oauth2 --application $(APPI D) 86 $(APPCFG) $(APPCFG_FLAGS) vacuum_indexes . --oauth2 --application $(APPI D)
85 87
(...skipping 18 matching lines...) Expand all
104 stage: update_revision mapreduce stage_backend 106 stage: update_revision mapreduce stage_backend
105 @echo "---[Staging $(STAGEID)]---" 107 @echo "---[Staging $(STAGEID)]---"
106 $(APPCFG) $(APPCFG_FLAGS) update . --oauth2 --application $(STAGEID) --v ersion $(VERSION) 108 $(APPCFG) $(APPCFG_FLAGS) update . --oauth2 --application $(STAGEID) --v ersion $(VERSION)
107 109
108 stage_backend: update_revision mapreduce 110 stage_backend: update_revision mapreduce
109 @echo "---[Staging backend $(STAGEID)]---" 111 @echo "---[Staging backend $(STAGEID)]---"
110 $(APPCFG) $(APPCFG_FLAGS) backends update . --oauth2 --application $(STA GEID) --version $(VERSION) 112 $(APPCFG) $(APPCFG_FLAGS) backends update . --oauth2 --application $(STA GEID) --version $(VERSION)
111 113
112 stage_indexes: 114 stage_indexes:
113 $(APPCFG) $(APPCFG_FLAGS) update_indexes . --oauth2 --application $(STAG EID) 115 $(APPCFG) $(APPCFG_FLAGS) update_indexes . --oauth2 --application $(STAG EID)
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698