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

Side by Side Diff: scripts/slave/recipe_modules/gclient/example.expected/basic.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "[DEPOT_TOOLS]/gclient.py", 6 "[DEPOT_TOOLS]/gclient.py",
7 "config", 7 "config",
8 "--spec", 8 "--spec",
9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu m/src.git'}]" 9 "cache_dir = '[ROOT]/git_cache'\nsolutions = [{'deps_file': '.DEPS.git', ' managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromiu m/src.git'}]"
10 ], 10 ],
11 "cwd": "[SLAVE_BUILD]",
11 "name": "gclient setup" 12 "name": "gclient setup"
12 }, 13 },
13 { 14 {
14 "cmd": [ 15 "cmd": [
15 "python", 16 "python",
16 "-u", 17 "-u",
17 "[DEPOT_TOOLS]/gclient.py", 18 "[DEPOT_TOOLS]/gclient.py",
18 "sync", 19 "sync",
19 "--verbose", 20 "--verbose",
20 "--with_branch_heads", 21 "--with_branch_heads",
21 "--nohooks", 22 "--nohooks",
22 "-j8", 23 "-j8",
23 "--reset", 24 "--reset",
24 "--force", 25 "--force",
25 "--upstream", 26 "--upstream",
26 "--no-nag-max", 27 "--no-nag-max",
27 "--delete_unversioned_trees", 28 "--delete_unversioned_trees",
28 "--output-json", 29 "--output-json",
29 "/path/to/tmp/json" 30 "/path/to/tmp/json"
30 ], 31 ],
32 "cwd": "[SLAVE_BUILD]",
31 "name": "gclient sync", 33 "name": "gclient sync",
32 "~followup_annotations": [ 34 "~followup_annotations": [
33 "@@@STEP_LOG_LINE@json.output@{@@@", 35 "@@@STEP_LOG_LINE@json.output@{@@@",
34 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", 36 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
35 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", 37 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
36 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@", 38 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e 86ddfd4ebd0fe58cb9\"@@@",
37 "@@@STEP_LOG_LINE@json.output@ }@@@", 39 "@@@STEP_LOG_LINE@json.output@ }@@@",
38 "@@@STEP_LOG_LINE@json.output@ }@@@", 40 "@@@STEP_LOG_LINE@json.output@ }@@@",
39 "@@@STEP_LOG_LINE@json.output@}@@@", 41 "@@@STEP_LOG_LINE@json.output@}@@@",
40 "@@@STEP_LOG_END@json.output@@@" 42 "@@@STEP_LOG_END@json.output@@@"
41 ] 43 ]
42 }, 44 },
43 { 45 {
44 "cmd": [ 46 "cmd": [
45 "python", 47 "python",
46 "-u", 48 "-u",
47 "[DEPOT_TOOLS]/gclient.py", 49 "[DEPOT_TOOLS]/gclient.py",
48 "recurse", 50 "recurse",
49 "git", 51 "git",
50 "config", 52 "config",
51 "user.name", 53 "user.name",
52 "local_bot" 54 "local_bot"
53 ], 55 ],
56 "cwd": "[SLAVE_BUILD]",
54 "name": "gclient recurse (git config user.name)" 57 "name": "gclient recurse (git config user.name)"
55 }, 58 },
56 { 59 {
57 "cmd": [ 60 "cmd": [
58 "python", 61 "python",
59 "-u", 62 "-u",
60 "[DEPOT_TOOLS]/gclient.py", 63 "[DEPOT_TOOLS]/gclient.py",
61 "recurse", 64 "recurse",
62 "git", 65 "git",
63 "config", 66 "config",
64 "user.email", 67 "user.email",
65 "local_bot@example.com" 68 "local_bot@example.com"
66 ], 69 ],
70 "cwd": "[SLAVE_BUILD]",
67 "name": "gclient recurse (git config user.email)" 71 "name": "gclient recurse (git config user.email)"
68 }, 72 },
69 { 73 {
70 "cmd": [ 74 "cmd": [
71 "python", 75 "python",
72 "-u", 76 "-u",
73 "[DEPOT_TOOLS]/gclient.py", 77 "[DEPOT_TOOLS]/gclient.py",
74 "config", 78 "config",
75 "--spec", 79 "--spec",
76 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr', 'url': ' svn://svn.chromium.org/blink/trunk'}]" 80 "cache_dir = None\nsolutions = [{'deps_file': 'DEPS', 'managed': True, 'na me': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr', 'url': ' svn://svn.chromium.org/blink/trunk'}]"
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" 112 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@"
109 ] 113 ]
110 }, 114 },
111 { 115 {
112 "cmd": [ 116 "cmd": [
113 "python", 117 "python",
114 "-u", 118 "-u",
115 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n", 119 "\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_pat h):\n for (path, dir, files) in os.walk(build_path):\n for cur_file in files :\n if cur_file.endswith('index.lock'):\n path_to_file = os.path.joi n(path, cur_file)\n print 'deleting %s' % path_to_file\n os.remove (path_to_file)\n",
116 "[SLAVE_BUILD]" 120 "[SLAVE_BUILD]"
117 ], 121 ],
122 "cwd": "[SLAVE_BUILD]",
118 "name": "cleanup index.lock", 123 "name": "cleanup index.lock",
119 "~followup_annotations": [ 124 "~followup_annotations": [
120 "@@@STEP_LOG_LINE@python.inline@@@@", 125 "@@@STEP_LOG_LINE@python.inline@@@@",
121 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 126 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
122 "@@@STEP_LOG_LINE@python.inline@@@@", 127 "@@@STEP_LOG_LINE@python.inline@@@@",
123 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", 128 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
124 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", 129 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
125 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@", 130 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_ path):@@@",
126 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", 131 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
127 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@", 132 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@ @@",
128 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@", 133 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
129 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@", 134 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file @@@",
130 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", 135 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
131 "@@@STEP_LOG_END@python.inline@@@" 136 "@@@STEP_LOG_END@python.inline@@@"
132 ] 137 ]
133 } 138 }
134 ] 139 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698