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

Side by Side Diff: scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch.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 "[BUILD]/scripts/slave/bot_update.py", 6 "[BUILD]/scripts/slave/bot_update.py",
7 "--master", 7 "--master",
8 "chromium.fyi", 8 "chromium.fyi",
9 "--builder", 9 "--builder",
10 "ChromiumOS Codesearch", 10 "ChromiumOS Codesearch",
11 "--slave", 11 "--slave",
12 "TestSlavename", 12 "TestSlavename",
13 "--spec", 13 "--spec",
14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}, {'deps_file': 'DEPS', 'managed': True, 'name' : 'tools/chrome-devtools-frontend', 'url': 'https://chromium.googlesource.com/ch romium/tools/chrome-devtools-frontend'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/commit-queue', 'url': 'https://chromium.googlesource.com/chromium /tools/commit-queue'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/gsd _generate_index', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_g enerate_index'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/perf', 'u rl': 'https://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file': 'DE PS', 'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'https://chrom ium.googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://chromium.googleso urce.com/chromium/tools/depot_tools'}, {'deps_file': 'DEPS', 'managed': True, 'n ame': 'tools/chromium-jobqueue', 'url': 'https://chromium.googlesource.com/chrom ium/tools/chromium-jobqueue'}, {'deps_file': 'DEPS', 'managed': True, 'name': 't ools/chromium-shortener', 'url': 'https://chromium.googlesource.com/chromium/too ls/chromium-shortener'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/d eps2git', 'url': 'https://chromium.googlesource.com/chromium/tools/deps2git'}, { 'deps_file': 'DEPS', 'managed': True, 'name': 'infra', 'url': 'https://chromium. googlesource.com/infra/infra'}]", 14 "cache_dir = None\nsolutions = [{'custom_vars': {'googlecode_url': 'svn:// svn-mirror.golo.chromium.org/%s', 'nacl_trunk': 'svn://svn-mirror.golo.chromium. org/native_client/trunk', 'sourceforge_url': 'svn://svn-mirror.golo.chromium.org /%(repo)s', 'webkit_trunk': 'svn://svn-mirror.golo.chromium.org/blink/trunk'}, ' deps_file': 'DEPS', 'managed': True, 'name': 'src', 'url': 'svn://svn-mirror.gol o.chromium.org/chrome/trunk/src'}, {'deps_file': 'DEPS', 'managed': True, 'name' : 'tools/chrome-devtools-frontend', 'url': 'https://chromium.googlesource.com/ch romium/tools/chrome-devtools-frontend'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/commit-queue', 'url': 'https://chromium.googlesource.com/chromium /tools/commit-queue'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/gsd _generate_index', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_g enerate_index'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/perf', 'u rl': 'https://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file': 'DE PS', 'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'https://chrom ium.googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://chromium.googleso urce.com/chromium/tools/depot_tools'}, {'deps_file': 'DEPS', 'managed': True, 'n ame': 'tools/chromium-jobqueue', 'url': 'https://chromium.googlesource.com/chrom ium/tools/chromium-jobqueue'}, {'deps_file': 'DEPS', 'managed': True, 'name': 't ools/chromium-shortener', 'url': 'https://chromium.googlesource.com/chromium/too ls/chromium-shortener'}, {'deps_file': 'DEPS', 'managed': True, 'name': 'tools/d eps2git', 'url': 'https://chromium.googlesource.com/chromium/tools/deps2git'}, { 'deps_file': 'DEPS', 'managed': True, 'name': 'infra', 'url': 'https://chromium. googlesource.com/infra/infra'}]",
15 "--root", 15 "--root",
16 "src", 16 "src",
17 "--revision_mapping_file", 17 "--revision_mapping_file",
18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}", 18 "{\"src\": \"got_revision\", \"src/native_client\": \"got_nacl_revision\", \"src/third_party/WebKit\": \"got_webkit_revision\", \"src/third_party/webrtc\" : \"got_webrtc_revision\", \"src/tools/swarming_client\": \"got_swarming_client_ revision\", \"src/v8\": \"got_v8_revision\"}",
19 "--output_json", 19 "--output_json",
20 "/path/to/tmp/json", 20 "/path/to/tmp/json",
21 "--revision", 21 "--revision",
22 "src@HEAD" 22 "src@HEAD"
23 ], 23 ],
24 "cwd": "[SLAVE_BUILD]",
24 "name": "bot_update", 25 "name": "bot_update",
25 "~followup_annotations": [ 26 "~followup_annotations": [
26 "@@@STEP_TEXT@Some step text@@@", 27 "@@@STEP_TEXT@Some step text@@@",
27 "@@@STEP_LOG_LINE@json.output@{@@@", 28 "@@@STEP_LOG_LINE@json.output@{@@@",
28 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@", 29 "@@@STEP_LOG_LINE@json.output@ \"did_run\": true, @@@",
29 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@", 30 "@@@STEP_LOG_LINE@json.output@ \"patch_failure\": false, @@@",
30 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@", 31 "@@@STEP_LOG_LINE@json.output@ \"patch_root\": \"src\", @@@",
31 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@", 32 "@@@STEP_LOG_LINE@json.output@ \"properties\": {@@@",
32 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@", 33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision\": \"d998e125e825398 0d76e269b7982aeeefc1b9b50\", @@@",
33 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@", 34 "@@@STEP_LOG_LINE@json.output@ \"got_nacl_revision_cp\": \"refs/heads/m aster@{#274981}\", @@@",
(...skipping 26 matching lines...) Expand all
60 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@" 61 "@@@SET_BUILD_PROPERTY@got_revision_cp@\"refs/heads/master@{#170242}\"@@@"
61 ] 62 ]
62 }, 63 },
63 { 64 {
64 "cmd": [ 65 "cmd": [
65 "python", 66 "python",
66 "-u", 67 "-u",
67 "[DEPOT_TOOLS]/gclient.py", 68 "[DEPOT_TOOLS]/gclient.py",
68 "runhooks" 69 "runhooks"
69 ], 70 ],
71 "cwd": "[SLAVE_BUILD]",
70 "env": { 72 "env": {
71 "GYP_CROSSCOMPILE": "1", 73 "GYP_CROSSCOMPILE": "1",
72 "GYP_DEFINES": "chromeos=1 clang=1 component=shared_library fastbuild=1 ff mpeg_branding=ChromeOS gomadir='[BUILD]/goma' proprietary_codecs=1 target_arch=x 64 use_goma=1 use_ozone=1" 74 "GYP_DEFINES": "chromeos=1 clang=1 component=shared_library fastbuild=1 ff mpeg_branding=ChromeOS gomadir='[BUILD]/goma' proprietary_codecs=1 target_arch=x 64 use_goma=1 use_ozone=1"
73 }, 75 },
74 "name": "gclient runhooks for chromeos" 76 "name": "gclient runhooks for chromeos"
75 }, 77 },
76 { 78 {
77 "cmd": [ 79 "cmd": [
78 "ninja", 80 "ninja",
79 "-C", 81 "-C",
80 "[SLAVE_BUILD]/src/out/Debug", 82 "[SLAVE_BUILD]/src/out/Debug",
81 "all", 83 "all",
82 "-t", 84 "-t",
83 "compdb", 85 "compdb",
84 "cc", 86 "cc",
85 "cxx", 87 "cxx",
86 "objc", 88 "objc",
87 "objcxx" 89 "objcxx"
88 ], 90 ],
91 "cwd": "[SLAVE_BUILD]",
89 "name": "generate compilation database for chromeos", 92 "name": "generate compilation database for chromeos",
90 "stdout": "/path/to/tmp/" 93 "stdout": "/path/to/tmp/"
91 }, 94 },
92 { 95 {
93 "cmd": [ 96 "cmd": [
94 "python", 97 "python",
95 "-u", 98 "-u",
96 "[BUILD]/scripts/slave/compile.py", 99 "[BUILD]/scripts/slave/compile.py",
97 "--target", 100 "--target",
98 "Debug", 101 "Debug",
99 "--src-dir", 102 "--src-dir",
100 "[SLAVE_BUILD]/src", 103 "[SLAVE_BUILD]/src",
101 "--build-tool", 104 "--build-tool",
102 "ninja", 105 "ninja",
103 "--compiler", 106 "--compiler",
104 "goma-clang", 107 "goma-clang",
105 "--goma-dir", 108 "--goma-dir",
106 "[BUILD]/goma", 109 "[BUILD]/goma",
107 "--", 110 "--",
108 "all" 111 "all"
109 ], 112 ],
113 "cwd": "[SLAVE_BUILD]",
110 "name": "compile" 114 "name": "compile"
111 }, 115 },
112 { 116 {
113 "cmd": [ 117 "cmd": [
114 "cp", 118 "cp",
115 "some compilation data", 119 "some compilation data",
116 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json" 120 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json"
117 ], 121 ],
122 "cwd": "[SLAVE_BUILD]",
118 "name": "copy compilation database" 123 "name": "copy compilation database"
119 }, 124 },
120 { 125 {
121 "cmd": [ 126 "cmd": [
122 "python", 127 "python",
123 "-u", 128 "-u",
124 "[DEPOT_TOOLS]/gclient.py", 129 "[DEPOT_TOOLS]/gclient.py",
125 "runhooks" 130 "runhooks"
126 ], 131 ],
132 "cwd": "[SLAVE_BUILD]",
127 "env": { 133 "env": {
128 "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[BUI LD]/goma' target_arch=x64 use_goma=1" 134 "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[BUI LD]/goma' target_arch=x64 use_goma=1"
129 }, 135 },
130 "name": "gclient runhooks for linux" 136 "name": "gclient runhooks for linux"
131 }, 137 },
132 { 138 {
133 "cmd": [ 139 "cmd": [
134 "ninja", 140 "ninja",
135 "-C", 141 "-C",
136 "[SLAVE_BUILD]/src/out/Debug", 142 "[SLAVE_BUILD]/src/out/Debug",
137 "all", 143 "all",
138 "-t", 144 "-t",
139 "compdb", 145 "compdb",
140 "cc", 146 "cc",
141 "cxx", 147 "cxx",
142 "objc", 148 "objc",
143 "objcxx" 149 "objcxx"
144 ], 150 ],
151 "cwd": "[SLAVE_BUILD]",
145 "name": "generate compilation database for linux", 152 "name": "generate compilation database for linux",
146 "stdout": "/path/to/tmp/" 153 "stdout": "/path/to/tmp/"
147 }, 154 },
148 { 155 {
149 "cmd": [ 156 "cmd": [
150 "python", 157 "python",
151 "-u", 158 "-u",
152 "[BUILD]/scripts/slave/chromium/filter_compilations.py", 159 "[BUILD]/scripts/slave/chromium/filter_compilations.py",
153 "--compdb-input", 160 "--compdb-input",
154 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json", 161 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json",
155 "--compdb-filter", 162 "--compdb-filter",
156 "some compilation data", 163 "some compilation data",
157 "--compdb-output", 164 "--compdb-output",
158 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json" 165 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json"
159 ], 166 ],
167 "cwd": "[SLAVE_BUILD]",
160 "name": "Filter out duplicate compilation units" 168 "name": "Filter out duplicate compilation units"
161 }, 169 },
162 { 170 {
163 "cmd": [ 171 "cmd": [
164 "tools/clang/scripts/update.sh", 172 "tools/clang/scripts/update.sh",
165 "--force-local-build", 173 "--force-local-build",
166 "--without-android", 174 "--without-android",
167 "--with-chrome-tools", 175 "--with-chrome-tools",
168 "translation_unit" 176 "translation_unit"
169 ], 177 ],
170 "cwd": "[SLAVE_BUILD]/src", 178 "cwd": "[SLAVE_BUILD]/src",
171 "name": "compile translation_unit clang tool" 179 "name": "compile translation_unit clang tool"
172 }, 180 },
173 { 181 {
174 "cmd": [ 182 "cmd": [
175 "python", 183 "python",
176 "-u", 184 "-u",
177 "[SLAVE_BUILD]/src/tools/clang/scripts/run_tool.py", 185 "[SLAVE_BUILD]/src/tools/clang/scripts/run_tool.py",
178 "[SLAVE_BUILD]/src/third_party/llvm-build/Release+Asserts/bin/translation_ unit", 186 "[SLAVE_BUILD]/src/third_party/llvm-build/Release+Asserts/bin/translation_ unit",
179 "[SLAVE_BUILD]/src/out/Debug", 187 "[SLAVE_BUILD]/src/out/Debug",
180 "--all" 188 "--all"
181 ], 189 ],
190 "cwd": "[SLAVE_BUILD]",
182 "name": "run translation_unit clang tool" 191 "name": "run translation_unit clang tool"
183 }, 192 },
184 { 193 {
185 "cmd": [ 194 "cmd": [
186 "python", 195 "python",
187 "-u", 196 "-u",
188 "[BUILD]/scripts/slave/chromium/package_index.py", 197 "[BUILD]/scripts/slave/chromium/package_index.py",
189 "--path-to-compdb", 198 "--path-to-compdb",
190 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json", 199 "[SLAVE_BUILD]/src/out/Debug/compile_commands.json",
191 "--path-to-archive-output", 200 "--path-to-archive-output",
192 "[SLAVE_BUILD]/src/out/Debug/index_pack_chromeos.zip" 201 "[SLAVE_BUILD]/src/out/Debug/index_pack_chromeos.zip"
193 ], 202 ],
203 "cwd": "[SLAVE_BUILD]",
194 "name": "create index pack" 204 "name": "create index pack"
195 }, 205 },
196 { 206 {
197 "cmd": [ 207 "cmd": [
198 "python", 208 "python",
199 "-u", 209 "-u",
200 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n", 210 "\nimport os, sys\nfrom common import chromium_utils\n\nif os.path.exists( sys.argv[1]):\n chromium_utils.RemoveDirectory(sys.argv[1])\n",
201 "[SLAVE_BUILD]/src/third_party/llvm-build" 211 "[SLAVE_BUILD]/src/third_party/llvm-build"
202 ], 212 ],
213 "cwd": "[SLAVE_BUILD]",
203 "name": "rmtree llvm-build", 214 "name": "rmtree llvm-build",
204 "~followup_annotations": [ 215 "~followup_annotations": [
205 "@@@STEP_LOG_LINE@python.inline@@@@", 216 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 217 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
207 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@", 218 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils@@@",
208 "@@@STEP_LOG_LINE@python.inline@@@@", 219 "@@@STEP_LOG_LINE@python.inline@@@@",
209 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 220 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
210 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 221 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
211 "@@@STEP_LOG_END@python.inline@@@" 222 "@@@STEP_LOG_END@python.inline@@@"
212 ] 223 ]
213 }, 224 },
214 { 225 {
215 "cmd": [ 226 "cmd": [
216 "python", 227 "python",
217 "-u", 228 "-u",
218 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 229 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
219 "--", 230 "--",
220 "[DEPOT_TOOLS]/gsutil.py", 231 "[DEPOT_TOOLS]/gsutil.py",
221 "--force-version", 232 "--force-version",
222 "3.25", 233 "3.25",
223 "--", 234 "--",
224 "cp", 235 "cp",
225 "[SLAVE_BUILD]/src/out/Debug/index_pack_chromeos.zip", 236 "[SLAVE_BUILD]/src/out/Debug/index_pack_chromeos.zip",
226 "gs://chrome-codesearch/prod/index_pack_chromeos_170242.zip" 237 "gs://chrome-codesearch/prod/index_pack_chromeos_170242.zip"
227 ], 238 ],
239 "cwd": "[SLAVE_BUILD]",
228 "name": "gsutil upload index pack", 240 "name": "gsutil upload index pack",
229 "~followup_annotations": [ 241 "~followup_annotations": [
230 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/prod/index_pack_chromeos_170242.zip@@@" 242 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/prod/index_pack_chromeos_170242.zip@@@"
231 ] 243 ]
232 }, 244 },
233 { 245 {
234 "cmd": [ 246 "cmd": [
235 "python", 247 "python",
236 "-u", 248 "-u",
237 "[BUILD]/scripts/slave/archive_source_codesearch.py", 249 "[BUILD]/scripts/slave/archive_source_codesearch.py",
238 "src", 250 "src",
239 "build", 251 "build",
240 "infra", 252 "infra",
241 "tools", 253 "tools",
242 "/usr/include", 254 "/usr/include",
243 "-f", 255 "-f",
244 "chromium_src_chromeos.tar.bz2" 256 "chromium_src_chromeos.tar.bz2"
245 ], 257 ],
258 "cwd": "[SLAVE_BUILD]",
246 "name": "archive source" 259 "name": "archive source"
247 }, 260 },
248 { 261 {
249 "cmd": [ 262 "cmd": [
250 "python", 263 "python",
251 "-u", 264 "-u",
252 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 265 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
253 "--", 266 "--",
254 "[DEPOT_TOOLS]/gsutil.py", 267 "[DEPOT_TOOLS]/gsutil.py",
255 "--force-version", 268 "--force-version",
256 "3.25", 269 "3.25",
257 "--", 270 "--",
258 "cp", 271 "cp",
259 "[SLAVE_BUILD]/chromium_src_chromeos.tar.bz2", 272 "[SLAVE_BUILD]/chromium_src_chromeos.tar.bz2",
260 "gs://chrome-codesearch/prod/chromium_src_chromeos_170242.tar.bz2" 273 "gs://chrome-codesearch/prod/chromium_src_chromeos_170242.tar.bz2"
261 ], 274 ],
275 "cwd": "[SLAVE_BUILD]",
262 "name": "gsutil upload source tarball", 276 "name": "gsutil upload source tarball",
263 "~followup_annotations": [ 277 "~followup_annotations": [
264 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/prod/chromium_src_chromeos_170242.tar.bz2@@@" 278 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/prod/chromium_src_chromeos_170242.tar.bz2@@@"
265 ] 279 ]
266 } 280 }
267 ] 281 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698