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 "cp", | 46 "cp", |
49 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-1
23456.zip", | 47 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-123456
.zip", |
50 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345
6.zip" | 48 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345
6.zip" |
51 ], | 49 ], |
52 "cwd": "[SLAVE_BUILD]", | |
53 "name": "gsutil upload", | 50 "name": "gsutil upload", |
54 "~followup_annotations": [ | 51 "~followup_annotations": [ |
55 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" | 52 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" |
56 ] | 53 ] |
57 }, | 54 }, |
58 { | 55 { |
59 "cmd": [ | 56 "cmd": [ |
60 "python", | 57 "python", |
61 "-u", | 58 "-u", |
62 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 59 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
63 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-1
23456.zip" | 60 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-123456
.zip" |
64 ], | 61 ], |
65 "cwd": "[SLAVE_BUILD]", | |
66 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", | 62 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", |
67 "~followup_annotations": [ | 63 "~followup_annotations": [ |
68 "@@@STEP_LOG_LINE@python.inline@@@@", | 64 "@@@STEP_LOG_LINE@python.inline@@@@", |
69 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 65 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
70 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 66 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
71 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 67 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
72 "@@@STEP_LOG_END@python.inline@@@" | 68 "@@@STEP_LOG_END@python.inline@@@" |
73 ] | 69 ] |
74 }, | 70 }, |
75 { | 71 { |
76 "name": "$result", | 72 "name": "$result", |
77 "recipe_result": null, | 73 "recipe_result": null, |
78 "status_code": 0 | 74 "status_code": 0 |
79 } | 75 } |
80 ] | 76 ] |
OLD | NEW |