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

Unified Diff: appengine/chromium_cq_status/makefile

Issue 2111713004: Teach CQ status app to check login status of users. (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Review and tests. Created 4 years, 6 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « appengine/chromium_cq_status/main.py ('k') | appengine/chromium_cq_status/shared/config.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/chromium_cq_status/makefile
diff --git a/appengine/chromium_cq_status/makefile b/appengine/chromium_cq_status/makefile
index 5f6b41f4e0eadf125bc95db6d6e9efec29b71446..7f416f7972b6299fd17e118e880df3342f7ad240 100644
--- a/appengine/chromium_cq_status/makefile
+++ b/appengine/chromium_cq_status/makefile
@@ -2,6 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# Allow overwriting application id, so one can deploy them with:
+# $ APP_ID='whatever' make deploy
+APP_ID ?= chromium-cq-status
NPM_VERSION := $(shell npm --version 2>/dev/null)
BOWER_VERSION := $(shell bower --version 2>/dev/null)
GIT_REVISION := $(shell git rev-parse --short HEAD)
@@ -22,6 +25,15 @@ single-test: check
./node_modules/karma/bin/karma start --single-run
deploy:
- appcfg.py --oauth2 update app.yaml highend.yaml --version `git rev-parse --short HEAD`
+ appcfg.py -A $(APP_ID)--oauth2 update app.yaml highend.yaml --version $(GIT_REVISION)
+
+# This is necesary if dispatch rules are updated or for new deployments.
+deploy-dispatch:
+ appcfg.py -A $(APP_ID) --oauth2 update_dispatch --version $(GIT_REVISION)
+
+# This is necesary if index definition is updated or for new deployments.
+deploy-index:
+ appcfg.py -A $(APP_ID) --oauth2 update_index --version $(GIT_REVISION)
+
.PHONY: check test single-test
« no previous file with comments | « appengine/chromium_cq_status/main.py ('k') | appengine/chromium_cq_status/shared/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698