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 "[CWD]/src/out/Release", | 7 "[SLAVE_BUILD]/src/out/Release", |
8 "/path/to/tmp/json" | 8 "/path/to/tmp/json" |
9 ], | 9 ], |
| 10 "cwd": "[SLAVE_BUILD]", |
10 "name": "listdir build_dir", | 11 "name": "listdir build_dir", |
11 "~followup_annotations": [ | 12 "~followup_annotations": [ |
12 "@@@STEP_LOG_LINE@json.output@[@@@", | 13 "@@@STEP_LOG_LINE@json.output@[@@@", |
13 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", | 14 "@@@STEP_LOG_LINE@json.output@ \"chrome\", @@@", |
14 "@@@STEP_LOG_LINE@json.output@ \"icu.dat\", @@@", | 15 "@@@STEP_LOG_LINE@json.output@ \"icu.dat\", @@@", |
15 "@@@STEP_LOG_LINE@json.output@ \"lib.host\"@@@", | 16 "@@@STEP_LOG_LINE@json.output@ \"lib.host\"@@@", |
16 "@@@STEP_LOG_LINE@json.output@]@@@", | 17 "@@@STEP_LOG_LINE@json.output@]@@@", |
17 "@@@STEP_LOG_END@json.output@@@", | 18 "@@@STEP_LOG_END@json.output@@@", |
18 "@@@STEP_LOG_LINE@python.inline@@@@", | 19 "@@@STEP_LOG_LINE@python.inline@@@@", |
19 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | 20 "@@@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]):@@@", | 21 "@@@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:@@@", | 22 "@@@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)@
@@", | 23 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@
@@", |
23 "@@@STEP_LOG_END@python.inline@@@" | 24 "@@@STEP_LOG_END@python.inline@@@" |
24 ] | 25 ] |
25 }, | 26 }, |
26 { | 27 { |
27 "cmd": [ | 28 "cmd": [ |
28 "python", | 29 "python", |
29 "-u", | 30 "-u", |
30 "RECIPE_MODULE[build::archive]/resources/zip_archive.py", | 31 "RECIPE_MODULE[build::archive]/resources/zip_archive.py", |
31 "[TMP]/chrome_staging_tmp_1", | 32 "[TMP_BASE]/chrome_staging_tmp_1", |
32 "chrome-asan-linux-release-refs_heads_B1-123456", | 33 "chrome-asan-linux-release-refs_heads_B1-123456", |
33 "[\"chrome\", \"icu.dat\"]", | 34 "[\"chrome\", \"icu.dat\"]", |
34 "[CWD]/src/out/Release" | 35 "[SLAVE_BUILD]/src/out/Release" |
35 ], | 36 ], |
| 37 "cwd": "[SLAVE_BUILD]", |
36 "name": "zipping" | 38 "name": "zipping" |
37 }, | 39 }, |
38 { | 40 { |
39 "cmd": [ | 41 "cmd": [ |
40 "python", | 42 "python", |
41 "-u", | 43 "-u", |
42 "[ROOT]/b/depot_tools/gsutil.py", | 44 "[DEPOT_TOOLS]/gsutil.py", |
43 "--", | 45 "--", |
44 "-h", | 46 "-h", |
45 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}", | 47 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}", |
46 "-h", | 48 "-h", |
47 "x-goog-meta-Cr-Commit-Position-Number:123456", | 49 "x-goog-meta-Cr-Commit-Position-Number:123456", |
48 "-h", | 50 "-h", |
49 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef", | 51 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef", |
50 "cp", | 52 "cp", |
51 "-a", | 53 "-a", |
52 "public-read", | 54 "public-read", |
53 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-123456
.zip", | 55 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-1
23456.zip", |
54 "gs://chromium/linux-release-subdir/chrome-asan-linux-release-refs_heads_B
1-123456.zip" | 56 "gs://chromium/linux-release-subdir/chrome-asan-linux-release-refs_heads_B
1-123456.zip" |
55 ], | 57 ], |
| 58 "cwd": "[SLAVE_BUILD]", |
56 "name": "gsutil upload", | 59 "name": "gsutil upload", |
57 "~followup_annotations": [ | 60 "~followup_annotations": [ |
58 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release-subdir/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" | 61 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release-subdir/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" |
59 ] | 62 ] |
60 }, | 63 }, |
61 { | 64 { |
62 "cmd": [ | 65 "cmd": [ |
63 "python", | 66 "python", |
64 "-u", | 67 "-u", |
65 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 68 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
66 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-123456
.zip" | 69 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-1
23456.zip" |
67 ], | 70 ], |
| 71 "cwd": "[SLAVE_BUILD]", |
68 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", | 72 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", |
69 "~followup_annotations": [ | 73 "~followup_annotations": [ |
70 "@@@STEP_LOG_LINE@python.inline@@@@", | 74 "@@@STEP_LOG_LINE@python.inline@@@@", |
71 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 75 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
72 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 76 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
73 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 77 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
74 "@@@STEP_LOG_END@python.inline@@@" | 78 "@@@STEP_LOG_END@python.inline@@@" |
75 ] | 79 ] |
76 }, | 80 }, |
77 { | 81 { |
78 "name": "$result", | 82 "name": "$result", |
79 "recipe_result": null, | 83 "recipe_result": null, |
80 "status_code": 0 | 84 "status_code": 0 |
81 } | 85 } |
82 ] | 86 ] |
OLD | NEW |