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

Side by Side Diff: luci_hacks/README.md

Issue 1344183002: git cl try --luci, a set of hacks to demonstrate and iterate LUCI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Lint Created 5 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « git_cl.py ('k') | luci_hacks/__init__.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 LUCI Hacks - A set of shims used to provide an iterable end-to-end demo.
2
3 The main goal of Luci Hakcs is to be able to use iterate on Milo as if it was
4 displaying real data. These are a couple of hacks used to get LUCI running from
5 "git cl try --luci" to displaying a page on Milo. These include:
6
7 luci_recipe_run.py:
8 * Downloading a depot_tools tarball onto swarming from Google Storage to bootstr ap gclient.
9 ** LUCI shouldn't require depot_tools or gclient.
10 * Running gclient on a swarming slave to bootstrap a full build+infra checkout.
11 ** M1: This should check out the recipes repo instead.
12 ** M2: The recipes repo should have been already isolated.
13 * Seeding properties by emitting annotation in stdout so that Milo can pick it
14 up
15 * Running annotated_run.py from a fake build directory "build/slave/bot/build"
16
17 trigger_luci_job.py:
18 * Master/Builder -> Recipe + Platform mapping is hardcoded into this file. This
19 is information that is otherwise encoded into master.cfg/slaves.cfg.
20 ** Actually I lied, we just assume linux right now.
21 ** M1: This information should be encoded into the recipe via luci.cfg
22 * Swarming client is checked out via "git clone <swarming repo>"
23 * Swarming server is hard coded into the file. This info should also be pulled
24 out from luci.cfg
25 * Triggering is done directly to swarming. Once Swarming is able to pull from
26 DM we can send jobs to DM instead of swarming.
27
28
29 Misc:
30 * This just runs the full recipe on the bot. Yes, including bot_update.
31 ** In the future this would be probably an isolated checkout?
32 ** This also includes having git_cache either set up a local cache, or download
33 the bootstrap zip file on every invocation. In reality there isn't a huge
34 time penalty for doing this, but at scale it does incur a non-trival amount o f
35 unnecessary bandwidth.
OLDNEW
« no previous file with comments | « git_cl.py ('k') | luci_hacks/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698