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