Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(442)

Side by Side Diff: scripts/slave/recipe_modules/archive/example.expected/cf_archiving_win.json

Issue 1115453002: Recipes: make cwd default to slave_build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: rebase Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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@ \"icu.dat\", @@@", 15 "@@@STEP_LOG_LINE@json.output@ \"icu.dat\", @@@",
15 "@@@STEP_LOG_LINE@json.output@ \"lib\", @@@", 16 "@@@STEP_LOG_LINE@json.output@ \"lib\", @@@",
16 "@@@STEP_LOG_LINE@json.output@ \"file.obj\"@@@", 17 "@@@STEP_LOG_LINE@json.output@ \"file.obj\"@@@",
17 "@@@STEP_LOG_LINE@json.output@]@@@", 18 "@@@STEP_LOG_LINE@json.output@]@@@",
18 "@@@STEP_LOG_END@json.output@@@", 19 "@@@STEP_LOG_END@json.output@@@",
19 "@@@STEP_LOG_LINE@python.inline@@@@", 20 "@@@STEP_LOG_LINE@python.inline@@@@",
20 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", 21 "@@@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]):@@@", 22 "@@@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:@@@", 23 "@@@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)@ @@", 24 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@ @@",
24 "@@@STEP_LOG_END@python.inline@@@" 25 "@@@STEP_LOG_END@python.inline@@@"
25 ] 26 ]
26 }, 27 },
27 { 28 {
28 "cmd": [ 29 "cmd": [
29 "python", 30 "python",
30 "-u", 31 "-u",
31 "RECIPE_MODULE[zip]\\resources\\zip.py" 32 "RECIPE_MODULE[zip]\\resources\\zip.py"
32 ], 33 ],
34 "cwd": "[SLAVE_BUILD]",
33 "name": "zipping", 35 "name": "zipping",
34 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]\\\\src\\\\out\\\\Release \\\\chrome\", \"type\": \"file\"}, {\"path\": \"[SLAVE_BUILD]\\\\src\\\\out\\\\R elease\\\\icu.dat\", \"type\": \"file\"}], \"output\": \"[SLAVE_BUILD]\\\\chrome _staging\\\\chrome-asan-win-release-refs_heads_B1-123456.zip\", \"root\": \"[SLA VE_BUILD]\\\\src\\\\out\\\\Release\", \"use_python_zip\": true}" 36 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]\\\\src\\\\out\\\\Release \\\\chrome\", \"type\": \"file\"}, {\"path\": \"[SLAVE_BUILD]\\\\src\\\\out\\\\R elease\\\\icu.dat\", \"type\": \"file\"}], \"output\": \"[SLAVE_BUILD]\\\\chrome _staging\\\\chrome-asan-win-release-refs_heads_B1-123456.zip\", \"root\": \"[SLA VE_BUILD]\\\\src\\\\out\\\\Release\", \"use_python_zip\": true}"
35 }, 37 },
36 { 38 {
37 "cmd": [ 39 "cmd": [
38 "python", 40 "python",
39 "-u", 41 "-u",
40 "RECIPE_MODULE[gsutil]\\resources\\gsutil_wrapper.py", 42 "RECIPE_MODULE[gsutil]\\resources\\gsutil_wrapper.py",
41 "--", 43 "--",
42 "[DEPOT_TOOLS]\\gsutil.py", 44 "[DEPOT_TOOLS]\\gsutil.py",
43 "--force-version", 45 "--force-version",
44 "3.25", 46 "3.25",
45 "--", 47 "--",
46 "cp", 48 "cp",
47 "-a", 49 "-a",
48 "public-read", 50 "public-read",
49 "-h", 51 "-h",
50 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}", 52 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}",
51 "-h", 53 "-h",
52 "x-goog-meta-Cr-Commit-Position-Number:123456", 54 "x-goog-meta-Cr-Commit-Position-Number:123456",
53 "-h", 55 "-h",
54 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef", 56 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef",
55 "[SLAVE_BUILD]\\chrome_staging\\chrome-asan-win-release-refs_heads_B1-1234 56.zip", 57 "[SLAVE_BUILD]\\chrome_staging\\chrome-asan-win-release-refs_heads_B1-1234 56.zip",
56 "gs://chromium/win-release-subdir/chrome-asan-win-release-refs_heads_B1-12 3456.zip" 58 "gs://chromium/win-release-subdir/chrome-asan-win-release-refs_heads_B1-12 3456.zip"
57 ], 59 ],
60 "cwd": "[SLAVE_BUILD]",
58 "name": "gsutil upload", 61 "name": "gsutil upload",
59 "~followup_annotations": [ 62 "~followup_annotations": [
60 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/win- release-subdir/chrome-asan-win-release-refs_heads_B1-123456.zip@@@" 63 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/win- release-subdir/chrome-asan-win-release-refs_heads_B1-123456.zip@@@"
61 ] 64 ]
62 }, 65 },
63 { 66 {
64 "cmd": [ 67 "cmd": [
65 "python", 68 "python",
66 "-u", 69 "-u",
67 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", 70 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
68 "[SLAVE_BUILD]\\chrome_staging\\chrome-asan-win-release-refs_heads_B1-1234 56.zip" 71 "[SLAVE_BUILD]\\chrome_staging\\chrome-asan-win-release-refs_heads_B1-1234 56.zip"
69 ], 72 ],
73 "cwd": "[SLAVE_BUILD]",
70 "name": "chrome-asan-win-release-refs_heads_B1-123456.zip", 74 "name": "chrome-asan-win-release-refs_heads_B1-123456.zip",
71 "~followup_annotations": [ 75 "~followup_annotations": [
72 "@@@STEP_LOG_LINE@python.inline@@@@", 76 "@@@STEP_LOG_LINE@python.inline@@@@",
73 "@@@STEP_LOG_LINE@python.inline@import os@@@", 77 "@@@STEP_LOG_LINE@python.inline@import os@@@",
74 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 78 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
75 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 79 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
76 "@@@STEP_LOG_END@python.inline@@@" 80 "@@@STEP_LOG_END@python.inline@@@"
77 ] 81 ]
78 } 82 }
79 ] 83 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698