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

Side by Side Diff: milo/Makefile

Issue 2981923002: [milo] add switch and switch-dev commands. (Closed)
Patch Set: Created 3 years, 5 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 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 # Copyright 2014 The LUCI Authors. All rights reserved. 1 # Copyright 2014 The LUCI Authors. All rights reserved.
2 # Use of this source code is governed under the Apache License, Version 2.0 2 # Use of this source code is governed under the Apache License, Version 2.0
3 # that can be found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST))) 5 mkfile_path := $(abspath $(lastword $(MAKEFILE_LIST)))
6 projdir := $(patsubst %/,%,$(dir $(mkfile_path))) 6 projdir := $(patsubst %/,%,$(dir $(mkfile_path)))
7 7
8 dev: 8 dev:
9 gae.py devserver --app-dir $(projdir)/frontend/appengine -- --host 0.0.0 .0 --port 8082 --admin_port 7999 --log_level debug 9 gae.py devserver --app-dir $(projdir)/frontend/appengine -- --host 0.0.0 .0 --port 8082 --admin_port 7999 --log_level debug
10 10
(...skipping 19 matching lines...) Expand all
30 up-dev: 30 up-dev:
31 gae.py upload -A luci-milo-dev --app-dir $(projdir)/frontend/appengine d efault pubsub api 31 gae.py upload -A luci-milo-dev --app-dir $(projdir)/frontend/appengine d efault pubsub api
32 appcfg.py -A luci-milo-dev update_dispatch $(projdir)/frontend/appengine 32 appcfg.py -A luci-milo-dev update_dispatch $(projdir)/frontend/appengine
33 33
34 up-dev-default: 34 up-dev-default:
35 gae.py upload -A luci-milo-dev --app-dir $(projdir)/frontend/appengine d efault 35 gae.py upload -A luci-milo-dev --app-dir $(projdir)/frontend/appengine d efault
36 36
37 up-dev-logs: 37 up-dev-logs:
38 gcloud app deploy --project luci-milo-dev --version dev $(projdir)/logs/ module-logs.yaml 38 gcloud app deploy --project luci-milo-dev --version dev $(projdir)/logs/ module-logs.yaml
39 39
40 switch:
41 gcloud --project luci-milo app versions migrate $$(gae.py version -A luc i-milo --app-dir $(projdir)/frontend/appengine)
42
43 switch-dev:
44 gcloud --project luci-milo-dev app versions migrate $$(gae.py version -A luci-milo-dev --app-dir $(projdir)/frontend/appengine)
45
40 test: 46 test:
41 go test ./... 47 go test ./...
42 48
43 train: gen 49 train: gen
44 go test ./... -test.generate 50 go test ./... -test.generate
45 51
46 gen: 52 gen:
47 go generate ./... 53 go generate ./...
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