revision.json 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388
  1. [
  2. {
  3. "cmd": [
  4. "python3",
  5. "-u",
  6. "RECIPE_REPO[depot_tools]/gclient.py",
  7. "config",
  8. "--spec",
  9. "cache_dir = '[CACHE]/git'\nsolutions = [{'custom_vars': {'string_var': 'string_val', 'true_var': True}, 'deps_file': '.DEPS.git', 'managed': True, 'name': 'src', 'url': 'https://chromium.googlesource.com/chromium/src.git'}]"
  10. ],
  11. "env": {
  12. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  13. },
  14. "env_suffixes": {
  15. "PATH": [
  16. "RECIPE_REPO[depot_tools]"
  17. ]
  18. },
  19. "infra_step": true,
  20. "luci_context": {
  21. "realm": {
  22. "name": "project:ci"
  23. },
  24. "resultdb": {
  25. "current_invocation": {
  26. "name": "invocations/build:8945511751514863184",
  27. "update_token": "token"
  28. },
  29. "hostname": "rdbhost"
  30. }
  31. },
  32. "name": "gclient setup"
  33. },
  34. {
  35. "cmd": [
  36. "python3",
  37. "-u",
  38. "RECIPE_REPO[depot_tools]/gclient.py",
  39. "sync",
  40. "--verbose",
  41. "--nohooks",
  42. "-j8",
  43. "--reset",
  44. "--force",
  45. "--upstream",
  46. "--no-nag-max",
  47. "--with_branch_heads",
  48. "--with_tags",
  49. "--delete_unversioned_trees",
  50. "--revision",
  51. "src@abc",
  52. "--output-json",
  53. "/path/to/tmp/json"
  54. ],
  55. "env": {
  56. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  57. },
  58. "env_suffixes": {
  59. "PATH": [
  60. "RECIPE_REPO[depot_tools]"
  61. ]
  62. },
  63. "infra_step": true,
  64. "luci_context": {
  65. "realm": {
  66. "name": "project:ci"
  67. },
  68. "resultdb": {
  69. "current_invocation": {
  70. "name": "invocations/build:8945511751514863184",
  71. "update_token": "token"
  72. },
  73. "hostname": "rdbhost"
  74. }
  75. },
  76. "name": "gclient sync",
  77. "~followup_annotations": [
  78. "@@@STEP_LOG_LINE@json.output@{@@@",
  79. "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
  80. "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
  81. "@@@STEP_LOG_LINE@json.output@ \"revision\": \"f27fede2220bcd326aee3e86ddfd4ebd0fe58cb9\"@@@",
  82. "@@@STEP_LOG_LINE@json.output@ }@@@",
  83. "@@@STEP_LOG_LINE@json.output@ }@@@",
  84. "@@@STEP_LOG_LINE@json.output@}@@@",
  85. "@@@STEP_LOG_END@json.output@@@"
  86. ]
  87. },
  88. {
  89. "cmd": [
  90. "python3",
  91. "-u",
  92. "RECIPE_REPO[depot_tools]/gclient.py",
  93. "recurse",
  94. "git",
  95. "config",
  96. "user.name",
  97. "local_bot"
  98. ],
  99. "env": {
  100. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  101. },
  102. "env_suffixes": {
  103. "PATH": [
  104. "RECIPE_REPO[depot_tools]"
  105. ]
  106. },
  107. "infra_step": true,
  108. "luci_context": {
  109. "realm": {
  110. "name": "project:ci"
  111. },
  112. "resultdb": {
  113. "current_invocation": {
  114. "name": "invocations/build:8945511751514863184",
  115. "update_token": "token"
  116. },
  117. "hostname": "rdbhost"
  118. }
  119. },
  120. "name": "gclient recurse (git config user.name)"
  121. },
  122. {
  123. "cmd": [
  124. "python3",
  125. "-u",
  126. "RECIPE_REPO[depot_tools]/gclient.py",
  127. "recurse",
  128. "git",
  129. "config",
  130. "user.email",
  131. "local_bot@example.com"
  132. ],
  133. "env": {
  134. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  135. },
  136. "env_suffixes": {
  137. "PATH": [
  138. "RECIPE_REPO[depot_tools]"
  139. ]
  140. },
  141. "infra_step": true,
  142. "luci_context": {
  143. "realm": {
  144. "name": "project:ci"
  145. },
  146. "resultdb": {
  147. "current_invocation": {
  148. "name": "invocations/build:8945511751514863184",
  149. "update_token": "token"
  150. },
  151. "hostname": "rdbhost"
  152. }
  153. },
  154. "name": "gclient recurse (git config user.email)"
  155. },
  156. {
  157. "cmd": [
  158. "python3",
  159. "-u",
  160. "RECIPE_REPO[depot_tools]/gclient.py",
  161. "config",
  162. "--spec",
  163. "cache_dir = '[CACHE]/git'\nsolutions = [{'deps_file': '.DEPS.git', 'managed': True, 'name': 'Angle', 'url': 'https://chromium.googlesource.com/angle/angle.git'}]"
  164. ],
  165. "cwd": "[START_DIR]/src/third_party",
  166. "env": {
  167. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  168. },
  169. "env_suffixes": {
  170. "PATH": [
  171. "RECIPE_REPO[depot_tools]"
  172. ]
  173. },
  174. "infra_step": true,
  175. "luci_context": {
  176. "realm": {
  177. "name": "project:ci"
  178. },
  179. "resultdb": {
  180. "current_invocation": {
  181. "name": "invocations/build:8945511751514863184",
  182. "update_token": "token"
  183. },
  184. "hostname": "rdbhost"
  185. }
  186. },
  187. "name": "[spec: Angle] gclient setup"
  188. },
  189. {
  190. "cmd": [
  191. "python3",
  192. "-u",
  193. "RECIPE_REPO[depot_tools]/gclient.py",
  194. "sync",
  195. "--verbose",
  196. "--nohooks",
  197. "-j8",
  198. "--reset",
  199. "--force",
  200. "--upstream",
  201. "--no-nag-max",
  202. "--with_branch_heads",
  203. "--with_tags",
  204. "--delete_unversioned_trees",
  205. "--revision",
  206. "src/third_party/angle@refs/heads/lkgr",
  207. "--output-json",
  208. "/path/to/tmp/json"
  209. ],
  210. "cwd": "[START_DIR]/src/third_party",
  211. "env": {
  212. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  213. },
  214. "env_suffixes": {
  215. "PATH": [
  216. "RECIPE_REPO[depot_tools]"
  217. ]
  218. },
  219. "infra_step": true,
  220. "luci_context": {
  221. "realm": {
  222. "name": "project:ci"
  223. },
  224. "resultdb": {
  225. "current_invocation": {
  226. "name": "invocations/build:8945511751514863184",
  227. "update_token": "token"
  228. },
  229. "hostname": "rdbhost"
  230. }
  231. },
  232. "name": "[spec: Angle] gclient sync",
  233. "~followup_annotations": [
  234. "@@@STEP_LOG_LINE@json.output@{@@@",
  235. "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
  236. "@@@STEP_LOG_LINE@json.output@ \"Angle/\": {@@@",
  237. "@@@STEP_LOG_LINE@json.output@ \"revision\": \"1fd70473fb3de634b409d4acaf49ffc1f90aae1f\"@@@",
  238. "@@@STEP_LOG_LINE@json.output@ }, @@@",
  239. "@@@STEP_LOG_LINE@json.output@ \"src/blatley/\": {@@@",
  240. "@@@STEP_LOG_LINE@json.output@ \"revision\": \"5e800497199d615131a76cd10651e74d7c8a0962\"@@@",
  241. "@@@STEP_LOG_LINE@json.output@ }@@@",
  242. "@@@STEP_LOG_LINE@json.output@ }@@@",
  243. "@@@STEP_LOG_LINE@json.output@}@@@",
  244. "@@@STEP_LOG_END@json.output@@@",
  245. "@@@SET_BUILD_PROPERTY@got_blatley_revision@\"5e800497199d615131a76cd10651e74d7c8a0962\"@@@"
  246. ]
  247. },
  248. {
  249. "cmd": [
  250. "python3",
  251. "-u",
  252. "RECIPE_REPO[depot_tools]/gclient.py",
  253. "recurse",
  254. "git",
  255. "config",
  256. "user.name",
  257. "local_bot"
  258. ],
  259. "cwd": "[START_DIR]/src/third_party",
  260. "env": {
  261. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  262. },
  263. "env_suffixes": {
  264. "PATH": [
  265. "RECIPE_REPO[depot_tools]"
  266. ]
  267. },
  268. "infra_step": true,
  269. "luci_context": {
  270. "realm": {
  271. "name": "project:ci"
  272. },
  273. "resultdb": {
  274. "current_invocation": {
  275. "name": "invocations/build:8945511751514863184",
  276. "update_token": "token"
  277. },
  278. "hostname": "rdbhost"
  279. }
  280. },
  281. "name": "[spec: Angle] gclient recurse (git config user.name)"
  282. },
  283. {
  284. "cmd": [
  285. "python3",
  286. "-u",
  287. "RECIPE_REPO[depot_tools]/gclient.py",
  288. "recurse",
  289. "git",
  290. "config",
  291. "user.email",
  292. "local_bot@example.com"
  293. ],
  294. "cwd": "[START_DIR]/src/third_party",
  295. "env": {
  296. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  297. },
  298. "env_suffixes": {
  299. "PATH": [
  300. "RECIPE_REPO[depot_tools]"
  301. ]
  302. },
  303. "infra_step": true,
  304. "luci_context": {
  305. "realm": {
  306. "name": "project:ci"
  307. },
  308. "resultdb": {
  309. "current_invocation": {
  310. "name": "invocations/build:8945511751514863184",
  311. "update_token": "token"
  312. },
  313. "hostname": "rdbhost"
  314. }
  315. },
  316. "name": "[spec: Angle] gclient recurse (git config user.email)"
  317. },
  318. {
  319. "cmd": [
  320. "python",
  321. "-u",
  322. "\nfrom __future__ import print_function\nimport os, sys\n\nbuild_path = sys.argv[1]\nif os.path.exists(build_path):\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.join(path, cur_file)\n print('deleting %s' % path_to_file)\n os.remove(path_to_file)\n",
  323. "[START_DIR]"
  324. ],
  325. "infra_step": true,
  326. "luci_context": {
  327. "realm": {
  328. "name": "project:ci"
  329. },
  330. "resultdb": {
  331. "current_invocation": {
  332. "name": "invocations/build:8945511751514863184",
  333. "update_token": "token"
  334. },
  335. "hostname": "rdbhost"
  336. }
  337. },
  338. "name": "cleanup index.lock",
  339. "~followup_annotations": [
  340. "@@@STEP_LOG_LINE@python.inline@@@@",
  341. "@@@STEP_LOG_LINE@python.inline@from __future__ import print_function@@@",
  342. "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
  343. "@@@STEP_LOG_LINE@python.inline@@@@",
  344. "@@@STEP_LOG_LINE@python.inline@build_path = sys.argv[1]@@@",
  345. "@@@STEP_LOG_LINE@python.inline@if os.path.exists(build_path):@@@",
  346. "@@@STEP_LOG_LINE@python.inline@ for (path, dir, files) in os.walk(build_path):@@@",
  347. "@@@STEP_LOG_LINE@python.inline@ for cur_file in files:@@@",
  348. "@@@STEP_LOG_LINE@python.inline@ if cur_file.endswith('index.lock'):@@@",
  349. "@@@STEP_LOG_LINE@python.inline@ path_to_file = os.path.join(path, cur_file)@@@",
  350. "@@@STEP_LOG_LINE@python.inline@ print('deleting %s' % path_to_file)@@@",
  351. "@@@STEP_LOG_LINE@python.inline@ os.remove(path_to_file)@@@",
  352. "@@@STEP_LOG_END@python.inline@@@"
  353. ]
  354. },
  355. {
  356. "cmd": [
  357. "python3",
  358. "-u",
  359. "RECIPE_REPO[depot_tools]/gclient.py",
  360. "runhooks"
  361. ],
  362. "cwd": "[START_DIR]/src",
  363. "env": {
  364. "DEPOT_TOOLS_REPORT_BUILD": "project/ci/builder/8945511751514863184"
  365. },
  366. "env_suffixes": {
  367. "PATH": [
  368. "RECIPE_REPO[depot_tools]"
  369. ]
  370. },
  371. "luci_context": {
  372. "realm": {
  373. "name": "project:ci"
  374. },
  375. "resultdb": {
  376. "current_invocation": {
  377. "name": "invocations/build:8945511751514863184",
  378. "update_token": "token"
  379. },
  380. "hostname": "rdbhost"
  381. }
  382. },
  383. "name": "gclient runhooks"
  384. },
  385. {
  386. "name": "$result"
  387. }
  388. ]