OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 6 "RECIPE_PACKAGE_REPO[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 "env": { | 12 "env": { |
12 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 13 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
13 }, | 14 }, |
14 "name": "gclient setup" | 15 "name": "gclient setup" |
15 }, | 16 }, |
16 { | 17 { |
17 "cmd": [ | 18 "cmd": [ |
18 "python", | 19 "python", |
19 "-u", | 20 "-u", |
20 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 21 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
21 "sync", | 22 "sync", |
22 "--verbose", | 23 "--verbose", |
23 "--with_branch_heads", | 24 "--with_branch_heads", |
24 "--nohooks", | 25 "--nohooks", |
25 "-j8", | 26 "-j8", |
26 "--reset", | 27 "--reset", |
27 "--force", | 28 "--force", |
28 "--upstream", | 29 "--upstream", |
29 "--no-nag-max", | 30 "--no-nag-max", |
30 "--delete_unversioned_trees", | 31 "--delete_unversioned_trees", |
31 "--revision", | 32 "--revision", |
32 "src@HEAD", | 33 "src@HEAD", |
33 "--output-json", | 34 "--output-json", |
34 "/path/to/tmp/json" | 35 "/path/to/tmp/json" |
35 ], | 36 ], |
| 37 "cwd": "[SLAVE_BUILD]", |
36 "env": { | 38 "env": { |
37 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 39 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
38 }, | 40 }, |
39 "name": "gclient sync", | 41 "name": "gclient sync", |
40 "~followup_annotations": [ | 42 "~followup_annotations": [ |
41 "@@@STEP_LOG_LINE@json.output@{@@@", | 43 "@@@STEP_LOG_LINE@json.output@{@@@", |
42 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 44 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
43 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", | 45 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@", |
44 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", | 46 "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e
86ddfd4ebd0fe58cb9\"@@@", |
45 "@@@STEP_LOG_LINE@json.output@ }@@@", | 47 "@@@STEP_LOG_LINE@json.output@ }@@@", |
46 "@@@STEP_LOG_LINE@json.output@ }@@@", | 48 "@@@STEP_LOG_LINE@json.output@ }@@@", |
47 "@@@STEP_LOG_LINE@json.output@}@@@", | 49 "@@@STEP_LOG_LINE@json.output@}@@@", |
48 "@@@STEP_LOG_END@json.output@@@" | 50 "@@@STEP_LOG_END@json.output@@@" |
49 ] | 51 ] |
50 }, | 52 }, |
51 { | 53 { |
52 "cmd": [ | 54 "cmd": [ |
53 "python", | 55 "python", |
54 "-u", | 56 "-u", |
55 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 57 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
56 "recurse", | 58 "recurse", |
57 "git", | 59 "git", |
58 "config", | 60 "config", |
59 "user.name", | 61 "user.name", |
60 "local_bot" | 62 "local_bot" |
61 ], | 63 ], |
| 64 "cwd": "[SLAVE_BUILD]", |
62 "env": { | 65 "env": { |
63 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 66 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
64 }, | 67 }, |
65 "name": "gclient recurse (git config user.name)" | 68 "name": "gclient recurse (git config user.name)" |
66 }, | 69 }, |
67 { | 70 { |
68 "cmd": [ | 71 "cmd": [ |
69 "python", | 72 "python", |
70 "-u", | 73 "-u", |
71 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 74 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
72 "recurse", | 75 "recurse", |
73 "git", | 76 "git", |
74 "config", | 77 "config", |
75 "user.email", | 78 "user.email", |
76 "local_bot@example.com" | 79 "local_bot@example.com" |
77 ], | 80 ], |
| 81 "cwd": "[SLAVE_BUILD]", |
78 "env": { | 82 "env": { |
79 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 83 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
80 }, | 84 }, |
81 "name": "gclient recurse (git config user.email)" | 85 "name": "gclient recurse (git config user.email)" |
82 }, | 86 }, |
83 { | 87 { |
84 "cmd": [ | 88 "cmd": [ |
85 "python", | 89 "python", |
86 "-u", | 90 "-u", |
87 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 91 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
88 "config", | 92 "config", |
89 "--spec", | 93 "--spec", |
90 "cache_dir = '[ROOT]/b/build/slave/cache_dir'\nsolutions = [{'deps_file':
'DEPS', 'managed': True, 'name': 'WebKit', 'safesync_url': 'https://blink-status
.appspot.com/lkgr', 'url': 'svn://svn.chromium.org/blink/trunk'}]" | 94 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'managed':
True, 'name': 'WebKit', 'safesync_url': 'https://blink-status.appspot.com/lkgr',
'url': 'svn://svn.chromium.org/blink/trunk'}]" |
91 ], | 95 ], |
92 "cwd": "[CWD]/src/third_party", | 96 "cwd": "[SLAVE_BUILD]/src/third_party", |
93 "env": { | 97 "env": { |
94 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 98 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
95 }, | 99 }, |
96 "name": "[spec: WebKit] gclient setup" | 100 "name": "[spec: WebKit] gclient setup" |
97 }, | 101 }, |
98 { | 102 { |
99 "cmd": [ | 103 "cmd": [ |
100 "python", | 104 "python", |
101 "-u", | 105 "-u", |
102 "[ROOT]/b/build/scripts/slave/gclient_safe_revert.py", | 106 "[BUILD]/scripts/slave/gclient_safe_revert.py", |
103 ".", | 107 ".", |
104 "[ROOT]/b/depot_tools/gclient" | 108 "[DEPOT_TOOLS]/gclient" |
105 ], | 109 ], |
106 "cwd": "[CWD]/src/third_party", | 110 "cwd": "[SLAVE_BUILD]/src/third_party", |
107 "name": "[spec: WebKit] gclient revert" | 111 "name": "[spec: WebKit] gclient revert" |
108 }, | 112 }, |
109 { | 113 { |
110 "cmd": [ | 114 "cmd": [ |
111 "python", | 115 "python", |
112 "-u", | 116 "-u", |
113 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 117 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
114 "sync", | 118 "sync", |
115 "--nohooks", | 119 "--nohooks", |
116 "--force", | 120 "--force", |
117 "--verbose", | 121 "--verbose", |
118 "--delete_unversioned_trees", | 122 "--delete_unversioned_trees", |
119 "--with_branch_heads", | 123 "--with_branch_heads", |
120 "--revision", | 124 "--revision", |
121 "third_party/WebKit@123", | 125 "third_party/WebKit@123", |
122 "--output-json", | 126 "--output-json", |
123 "/path/to/tmp/json" | 127 "/path/to/tmp/json" |
124 ], | 128 ], |
125 "cwd": "[CWD]/src/third_party", | 129 "cwd": "[SLAVE_BUILD]/src/third_party", |
126 "env": { | 130 "env": { |
127 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 131 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
128 }, | 132 }, |
129 "name": "[spec: WebKit] gclient sync", | 133 "name": "[spec: WebKit] gclient sync", |
130 "~followup_annotations": [ | 134 "~followup_annotations": [ |
131 "@@@STEP_LOG_LINE@json.output@{@@@", | 135 "@@@STEP_LOG_LINE@json.output@{@@@", |
132 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", | 136 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@", |
133 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", | 137 "@@@STEP_LOG_LINE@json.output@ \"WebKit/\": {@@@", |
134 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", | 138 "@@@STEP_LOG_LINE@json.output@ \"revision\": 241198@@@", |
135 "@@@STEP_LOG_LINE@json.output@ }, @@@", | 139 "@@@STEP_LOG_LINE@json.output@ }, @@@", |
136 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", | 140 "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@", |
137 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", | 141 "@@@STEP_LOG_LINE@json.output@ \"revision\": 248087@@@", |
138 "@@@STEP_LOG_LINE@json.output@ }@@@", | 142 "@@@STEP_LOG_LINE@json.output@ }@@@", |
139 "@@@STEP_LOG_LINE@json.output@ }@@@", | 143 "@@@STEP_LOG_LINE@json.output@ }@@@", |
140 "@@@STEP_LOG_LINE@json.output@}@@@", | 144 "@@@STEP_LOG_LINE@json.output@}@@@", |
141 "@@@STEP_LOG_END@json.output@@@", | 145 "@@@STEP_LOG_END@json.output@@@", |
142 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" | 146 "@@@SET_BUILD_PROPERTY@got_blatley_revision@248087@@@" |
143 ] | 147 ] |
144 }, | 148 }, |
145 { | 149 { |
146 "cmd": [ | 150 "cmd": [ |
147 "python", | 151 "python", |
148 "-u", | 152 "-u", |
149 "\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", | 153 "\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", |
150 "[CWD]" | 154 "[SLAVE_BUILD]" |
151 ], | 155 ], |
| 156 "cwd": "[SLAVE_BUILD]", |
152 "name": "cleanup index.lock", | 157 "name": "cleanup index.lock", |
153 "~followup_annotations": [ | 158 "~followup_annotations": [ |
154 "@@@STEP_LOG_LINE@python.inline@@@@", | 159 "@@@STEP_LOG_LINE@python.inline@@@@", |
155 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 160 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
156 "@@@STEP_LOG_LINE@python.inline@@@@", | 161 "@@@STEP_LOG_LINE@python.inline@@@@", |
157 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", | 162 "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@", |
158 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", | 163 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@", |
159 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", | 164 "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_
path):@@@", |
160 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", | 165 "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@", |
161 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", | 166 "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@
@@", |
162 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", | 167 "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path,
cur_file)@@@", |
163 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", | 168 "@@@STEP_LOG_LINE@python.inline@ print 'deleting %s' % path_to_file
@@@", |
164 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", | 169 "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@", |
165 "@@@STEP_LOG_END@python.inline@@@" | 170 "@@@STEP_LOG_END@python.inline@@@" |
166 ] | 171 ] |
167 }, | 172 }, |
168 { | 173 { |
169 "cmd": [ | 174 "cmd": [ |
170 "python", | 175 "python", |
171 "-u", | 176 "-u", |
172 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", | 177 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", |
173 "runhooks" | 178 "runhooks" |
174 ], | 179 ], |
| 180 "cwd": "[SLAVE_BUILD]", |
175 "env": { | 181 "env": { |
176 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" | 182 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" |
177 }, | 183 }, |
178 "name": "gclient runhooks" | 184 "name": "gclient runhooks" |
179 }, | 185 }, |
180 { | 186 { |
181 "name": "$result", | 187 "name": "$result", |
182 "recipe_result": null, | 188 "recipe_result": null, |
183 "status_code": 0 | 189 "status_code": 0 |
184 } | 190 } |
185 ] | 191 ] |
OLD | NEW |