OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", | 6 "\nimport json, os, sys\nif os.path.exists(sys.argv[1]) and os.path.isdir(
sys.argv[1]):\n with open(sys.argv[2], 'w') as f:\n json.dump(os.listdir(sys
.argv[1]), f)\n", |
7 "[SLAVE_BUILD]/src/out/Release", | 7 "[CWD]/src/out/Release", |
8 "/path/to/tmp/json" | 8 "/path/to/tmp/json" |
9 ], | 9 ], |
10 "cwd": "[SLAVE_BUILD]", | |
11 "name": "listdir build_dir", | 10 "name": "listdir build_dir", |
12 "~followup_annotations": [ | 11 "~followup_annotations": [ |
13 "@@@STEP_LOG_LINE@json.output@[@@@", | 12 "@@@STEP_LOG_LINE@json.output@[@@@", |
14 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", | 13 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", |
15 "@@@STEP_LOG_LINE@json.output@ \"resources\"@@@", | 14 "@@@STEP_LOG_LINE@json.output@ \"resources\"@@@", |
16 "@@@STEP_LOG_LINE@json.output@]@@@", | 15 "@@@STEP_LOG_LINE@json.output@]@@@", |
17 "@@@STEP_LOG_END@json.output@@@", | 16 "@@@STEP_LOG_END@json.output@@@", |
18 "@@@STEP_LOG_LINE@python.inline@@@@", | 17 "@@@STEP_LOG_LINE@python.inline@@@@", |
19 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | 18 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", |
20 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", | 19 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path
.isdir(sys.argv[1]):@@@", |
21 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", | 20 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", |
22 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", | 21 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", |
23 "@@@STEP_LOG_END@python.inline@@@" | 22 "@@@STEP_LOG_END@python.inline@@@" |
24 ] | 23 ] |
25 }, | 24 }, |
26 { | 25 { |
27 "cmd": [ | 26 "cmd": [ |
28 "python", | 27 "python", |
29 "-u", | 28 "-u", |
30 "RECIPE_MODULE[build::archive]/resources/zip_archive.py", | 29 "RECIPE_MODULE[build::archive]/resources/zip_archive.py", |
31 "[TMP_BASE]/chrome_staging_tmp_1", | 30 "[TMP]/chrome_staging_tmp_1", |
32 "chrome-asan-linux-release-x10-component-234", | 31 "chrome-asan-linux-release-x10-component-234", |
33 "[\"chrome\", \"resources\"]", | 32 "[\"chrome\", \"resources\"]", |
34 "[SLAVE_BUILD]/src/out/Release" | 33 "[CWD]/src/out/Release" |
35 ], | 34 ], |
36 "cwd": "[SLAVE_BUILD]", | |
37 "name": "zipping" | 35 "name": "zipping" |
38 }, | 36 }, |
39 { | 37 { |
40 "cmd": [ | 38 "cmd": [ |
41 "python", | 39 "python", |
42 "-u", | 40 "-u", |
43 "[DEPOT_TOOLS]/gsutil.py", | 41 "[ROOT]/b/depot_tools/gsutil.py", |
44 "--", | 42 "--", |
45 "-h", | 43 "-h", |
46 "x-goog-meta-Cr-Commit-Position:refs/heads/master@{#234}", | 44 "x-goog-meta-Cr-Commit-Position:refs/heads/master@{#234}", |
47 "-h", | 45 "-h", |
48 "x-goog-meta-Cr-Commit-Position-Number:234", | 46 "x-goog-meta-Cr-Commit-Position-Number:234", |
49 "-h", | 47 "-h", |
50 "x-goog-meta-Cr-Git-Commit:deadbeefdda2b170692f8e762d43b7e8e7a96686", | 48 "x-goog-meta-Cr-Git-Commit:deadbeefdda2b170692f8e762d43b7e8e7a96686", |
51 "cp", | 49 "cp", |
52 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-2
34.zip", | 50 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-234.zi
p", |
53 "gs://chromium/linux-release/chrome-asan-linux-release-x10-component-234.z
ip" | 51 "gs://chromium/linux-release/chrome-asan-linux-release-x10-component-234.z
ip" |
54 ], | 52 ], |
55 "cwd": "[SLAVE_BUILD]", | |
56 "name": "gsutil upload", | 53 "name": "gsutil upload", |
57 "~followup_annotations": [ | 54 "~followup_annotations": [ |
58 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-x10-component-234.zip@@@" | 55 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-x10-component-234.zip@@@" |
59 ] | 56 ] |
60 }, | 57 }, |
61 { | 58 { |
62 "cmd": [ | 59 "cmd": [ |
63 "python", | 60 "python", |
64 "-u", | 61 "-u", |
65 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 62 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
66 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-2
34.zip" | 63 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-x10-component-234.zi
p" |
67 ], | 64 ], |
68 "cwd": "[SLAVE_BUILD]", | |
69 "name": "chrome-asan-linux-release-x10-component-234.zip", | 65 "name": "chrome-asan-linux-release-x10-component-234.zip", |
70 "~followup_annotations": [ | 66 "~followup_annotations": [ |
71 "@@@STEP_LOG_LINE@python.inline@@@@", | 67 "@@@STEP_LOG_LINE@python.inline@@@@", |
72 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 68 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
73 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 69 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
74 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 70 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
75 "@@@STEP_LOG_END@python.inline@@@" | 71 "@@@STEP_LOG_END@python.inline@@@" |
76 ] | 72 ] |
77 }, | 73 }, |
78 { | 74 { |
79 "name": "$result", | 75 "name": "$result", |
80 "recipe_result": null, | 76 "recipe_result": null, |
81 "status_code": 0 | 77 "status_code": 0 |
82 } | 78 } |
83 ] | 79 ] |
OLD | NEW |