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