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 "[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@]@@@", | 15 "@@@STEP_LOG_LINE@json.output@]@@@", |
15 "@@@STEP_LOG_END@json.output@@@", | 16 "@@@STEP_LOG_END@json.output@@@", |
16 "@@@STEP_LOG_LINE@python.inline@@@@", | 17 "@@@STEP_LOG_LINE@python.inline@@@@", |
17 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", | 18 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", |
18 "@@@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]):@@@", |
19 "@@@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:@@@", |
20 "@@@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)@
@@", |
21 "@@@STEP_LOG_END@python.inline@@@" | 22 "@@@STEP_LOG_END@python.inline@@@" |
22 ] | 23 ] |
23 }, | 24 }, |
24 { | 25 { |
25 "cmd": [ | 26 "cmd": [ |
26 "python", | 27 "python", |
27 "-u", | 28 "-u", |
28 "RECIPE_MODULE[zip]/resources/zip.py" | 29 "RECIPE_MODULE[zip]/resources/zip.py" |
29 ], | 30 ], |
| 31 "cwd": "[SLAVE_BUILD]", |
30 "name": "zipping", | 32 "name": "zipping", |
31 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/src/out/Release/chrome\"
, \"type\": \"file\"}], \"output\": \"[SLAVE_BUILD]/chrome_staging/chrome-asan-l
inux-release-refs_heads_B1-123456.zip\", \"root\": \"[SLAVE_BUILD]/src/out/Relea
se\", \"use_python_zip\": false}" | 33 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/src/out/Release/chrome\"
, \"type\": \"file\"}], \"output\": \"[SLAVE_BUILD]/chrome_staging/chrome-asan-l
inux-release-refs_heads_B1-123456.zip\", \"root\": \"[SLAVE_BUILD]/src/out/Relea
se\", \"use_python_zip\": false}" |
32 }, | 34 }, |
33 { | 35 { |
34 "cmd": [ | 36 "cmd": [ |
35 "python", | 37 "python", |
36 "-u", | 38 "-u", |
37 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", | 39 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", |
38 "--", | 40 "--", |
39 "[DEPOT_TOOLS]/gsutil.py", | 41 "[DEPOT_TOOLS]/gsutil.py", |
40 "--force-version", | 42 "--force-version", |
41 "3.25", | 43 "3.25", |
42 "--", | 44 "--", |
43 "cp", | 45 "cp", |
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 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234
56.zip", | 50 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234
56.zip", |
49 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345
6.zip" | 51 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345
6.zip" |
50 ], | 52 ], |
| 53 "cwd": "[SLAVE_BUILD]", |
51 "name": "gsutil upload", | 54 "name": "gsutil upload", |
52 "~followup_annotations": [ | 55 "~followup_annotations": [ |
53 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" | 56 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu
x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" |
54 ] | 57 ] |
55 }, | 58 }, |
56 { | 59 { |
57 "cmd": [ | 60 "cmd": [ |
58 "python", | 61 "python", |
59 "-u", | 62 "-u", |
60 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", | 63 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", |
61 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234
56.zip" | 64 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234
56.zip" |
62 ], | 65 ], |
| 66 "cwd": "[SLAVE_BUILD]", |
63 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", | 67 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", |
64 "~followup_annotations": [ | 68 "~followup_annotations": [ |
65 "@@@STEP_LOG_LINE@python.inline@@@@", | 69 "@@@STEP_LOG_LINE@python.inline@@@@", |
66 "@@@STEP_LOG_LINE@python.inline@import os@@@", | 70 "@@@STEP_LOG_LINE@python.inline@import os@@@", |
67 "@@@STEP_LOG_LINE@python.inline@import sys@@@", | 71 "@@@STEP_LOG_LINE@python.inline@import sys@@@", |
68 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", | 72 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", |
69 "@@@STEP_LOG_END@python.inline@@@" | 73 "@@@STEP_LOG_END@python.inline@@@" |
70 ] | 74 ] |
71 } | 75 } |
72 ] | 76 ] |
OLD | NEW |