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

Side by Side Diff: scripts/slave/recipes/chromium_codesearch.expected/full_ChromiumOS_Codesearch.json

Issue 2328263002: Use [CACHE]/cipd/goma for goma_dir in recipes/chromium_codesearch.py (Closed)
Patch Set: Created 4 years, 3 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
OLDNEW
1 [ 1 [
2 { 2 {
3 "cmd": [ 3 "cmd": [
4 "python", 4 "python",
5 "-u", 5 "-u",
6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py", 6 "RECIPE_MODULE[depot_tools::bot_update]/resources/bot_update.py",
7 "--spec", 7 "--spec",
8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chrome-devtoo ls-frontend', 'url': 'https://chromium.googlesource.com/chromium/tools/chrome-de vtools-frontend'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/gs d_generate_index', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_ generate_index'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/per f', 'url': 'https://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file ': '.DEPS.git', 'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'ht tps://chromium.googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_fil e': '.DEPS.git', 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://c hromium.googlesource.com/chromium/tools/depot_tools'}, {'deps_file': '.DEPS.git' , 'managed': True, 'name': 'tools/chromium-jobqueue', 'url': 'https://chromium.g ooglesource.com/chromium/tools/chromium-jobqueue'}, {'deps_file': '.DEPS.git', ' managed': True, 'name': 'tools/chromium-shortener', 'url': 'https://chromium.goo glesource.com/chromium/tools/chromium-shortener'}, {'deps_file': '.DEPS.git', 'm anaged': True, 'name': 'tools/deps2git', 'url': 'https://chromium.googlesource.c om/chromium/tools/deps2git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name' : 'infra', 'url': 'https://chromium.googlesource.com/infra/infra'}]", 8 "cache_dir = '[GIT_CACHE]'\nsolutions = [{'deps_file': '.DEPS.git', 'manag ed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src .git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/chrome-devtoo ls-frontend', 'url': 'https://chromium.googlesource.com/chromium/tools/chrome-de vtools-frontend'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/gs d_generate_index', 'url': 'https://chromium.googlesource.com/chromium/tools/gsd_ generate_index'}, {'deps_file': '.DEPS.git', 'managed': True, 'name': 'tools/per f', 'url': 'https://chromium.googlesource.com/chromium/tools/perf'}, {'deps_file ': '.DEPS.git', 'managed': True, 'name': 'tools/command_wrapper/bin', 'url': 'ht tps://chromium.googlesource.com/chromium/tools/command_wrapper/bin'}, {'deps_fil e': '.DEPS.git', 'managed': True, 'name': 'tools/depot_tools', 'url': 'https://c hromium.googlesource.com/chromium/tools/depot_tools'}, {'deps_file': '.DEPS.git' , 'managed': True, 'name': 'tools/chromium-jobqueue', 'url': 'https://chromium.g ooglesource.com/chromium/tools/chromium-jobqueue'}, {'deps_file': '.DEPS.git', ' managed': True, 'name': 'tools/chromium-shortener', 'url': 'https://chromium.goo glesource.com/chromium/tools/chromium-shortener'}, {'deps_file': '.DEPS.git', 'm anaged': True, 'name': 'tools/deps2git', 'url': 'https://chromium.googlesource.c om/chromium/tools/deps2git'}, {'deps_file': '.DEPS.git', 'managed': True, 'name' : 'infra', 'url': 'https://chromium.googlesource.com/infra/infra'}]",
9 "--patch_root", 9 "--patch_root",
10 "src", 10 "src",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 110 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
111 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 111 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
112 "@@@STEP_LOG_LINE@python.inline@@@@", 112 "@@@STEP_LOG_LINE@python.inline@@@@",
113 "@@@STEP_LOG_LINE@python.inline@@@@", 113 "@@@STEP_LOG_LINE@python.inline@@@@",
114 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 114 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
115 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 115 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
116 "@@@STEP_LOG_END@python.inline@@@" 116 "@@@STEP_LOG_END@python.inline@@@"
117 ] 117 ]
118 }, 118 },
119 { 119 {
120 "cmd": [],
121 "name": "ensure_goma"
122 },
123 {
124 "cmd": [
125 "python",
126 "-u",
127 "RECIPE_MODULE[depot_tools::cipd]/resources/bootstrap.py",
128 "--platform",
129 "linux-amd64",
130 "--dest-directory",
131 "[SLAVE_BUILD]/cipd",
132 "--json-output",
133 "/path/to/tmp/json"
134 ],
135 "name": "ensure_goma.install cipd",
136 "~followup_annotations": [
137 "@@@STEP_NEST_LEVEL@1@@@",
138 "@@@STEP_TEXT@cipd instance_id: 40-chars-fake-of-the-package-instance_id@@ @",
139 "@@@STEP_LOG_LINE@json.output@{@@@",
140 "@@@STEP_LOG_LINE@json.output@ \"executable\": \"[SLAVE_BUILD]/cipd/cipd\ ", @@@",
141 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"40-chars-fake-of-the-pa ckage-instance_id\"@@@",
142 "@@@STEP_LOG_LINE@json.output@}@@@",
143 "@@@STEP_LOG_END@json.output@@@"
144 ]
145 },
146 {
147 "cmd": [
148 "[SLAVE_BUILD]/cipd/cipd",
149 "ensure",
150 "--root",
151 "[CACHE]/cipd/goma",
152 "--list",
153 "infra/tools/cloudtail/linux-amd64 goma_recipe_module\ninfra_internal/goma /client/linux-amd64 release",
154 "--json-output",
155 "/path/to/tmp/json",
156 "--service-account-json",
157 "/creds/service_accounts/service-account-goma-client.json"
158 ],
159 "name": "ensure_goma.ensure_installed",
160 "~followup_annotations": [
161 "@@@STEP_NEST_LEVEL@1@@@",
162 "@@@STEP_LOG_LINE@json.output@{@@@",
163 "@@@STEP_LOG_LINE@json.output@ \"result\": [@@@",
164 "@@@STEP_LOG_LINE@json.output@ {@@@",
165 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-goma_recipe_modu\", @@@",
166 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra/tools/cloudtail/l inux-amd64\"@@@",
167 "@@@STEP_LOG_LINE@json.output@ }, @@@",
168 "@@@STEP_LOG_LINE@json.output@ {@@@",
169 "@@@STEP_LOG_LINE@json.output@ \"instance_id\": \"resolved-instance_i d-of-release---------\", @@@",
170 "@@@STEP_LOG_LINE@json.output@ \"package\": \"infra_internal/goma/cli ent/linux-amd64\"@@@",
171 "@@@STEP_LOG_LINE@json.output@ }@@@",
172 "@@@STEP_LOG_LINE@json.output@ ]@@@",
173 "@@@STEP_LOG_LINE@json.output@}@@@",
174 "@@@STEP_LOG_END@json.output@@@"
175 ]
176 },
177 {
120 "cmd": [ 178 "cmd": [
121 "python", 179 "python",
122 "-u", 180 "-u",
123 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py", 181 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
124 "runhooks" 182 "runhooks"
125 ], 183 ],
126 "cwd": "[SLAVE_BUILD]/src", 184 "cwd": "[SLAVE_BUILD]/src",
127 "env": { 185 "env": {
128 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json", 186 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json",
129 "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[BUI LD]/goma' target_arch=x64 use_goma=1", 187 "GYP_DEFINES": "clang=1 component=shared_library fastbuild=1 gomadir='[CAC HE]/cipd/goma' target_arch=x64 use_goma=1",
130 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]" 188 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
131 }, 189 },
132 "name": "gclient runhooks" 190 "name": "gclient runhooks"
133 }, 191 },
134 { 192 {
135 "cmd": [ 193 "cmd": [
136 "[SLAVE_BUILD]/src/buildtools/linux64/gn", 194 "[SLAVE_BUILD]/src/buildtools/linux64/gn",
137 "gen", 195 "gen",
138 "[SLAVE_BUILD]/src/out/Debug", 196 "[SLAVE_BUILD]/src/out/Debug",
139 "--args=is_clang=true is_component_build=true is_debug=true goma_dir=\"/b/ build/goma\" symbol_level=1 target_cpu=\"x64\" use_goma=true target_os=\"chromeo s\" use_ozone=true" 197 "--args=is_clang=true is_component_build=true is_debug=true goma_dir=\"/b/ build/goma\" symbol_level=1 target_cpu=\"x64\" use_goma=true target_os=\"chromeo s\" use_ozone=true"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
205 "TestSlavename", 263 "TestSlavename",
206 "--build-args", 264 "--build-args",
207 "-k 0", 265 "-k 0",
208 "--compiler", 266 "--compiler",
209 "goma-clang", 267 "goma-clang",
210 "--goma-jsonstatus", 268 "--goma-jsonstatus",
211 "/path/to/tmp/json", 269 "/path/to/tmp/json",
212 "--goma-service-account-json-file", 270 "--goma-service-account-json-file",
213 "/creds/service_accounts/service-account-goma-client.json", 271 "/creds/service_accounts/service-account-goma-client.json",
214 "--goma-dir", 272 "--goma-dir",
215 "[BUILD]/goma", 273 "[CACHE]/cipd/goma",
216 "--", 274 "--",
217 "All" 275 "All"
218 ], 276 ],
219 "env": { 277 "env": {
220 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json" 278 "GOMA_SERVICE_ACCOUNT_JSON_FILE": "/creds/service_accounts/service-account -goma-client.json"
221 }, 279 },
222 "name": "compile", 280 "name": "compile",
223 "~followup_annotations": [ 281 "~followup_annotations": [
224 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@", 282 "@@@STEP_LOG_LINE@json.output (invalid)@null@@@",
225 "@@@STEP_LOG_END@json.output (invalid)@@@" 283 "@@@STEP_LOG_END@json.output (invalid)@@@"
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 "~followup_annotations": [ 412 "~followup_annotations": [
355 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/prod/chromium_src_chromeos_170242.tar.bz2@@@" 413 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chrome-codese arch/prod/chromium_src_chromeos_170242.tar.bz2@@@"
356 ] 414 ]
357 }, 415 },
358 { 416 {
359 "name": "$result", 417 "name": "$result",
360 "recipe_result": null, 418 "recipe_result": null,
361 "status_code": 0 419 "status_code": 0
362 } 420 }
363 ] 421 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698