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

Side by Side Diff: scripts/slave/recipe_modules/archive/example.expected/cf_archiving_mac.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@ \"pdfsqueeze\"@@@", 16 "@@@STEP_LOG_LINE@json.output@ \"pdfsqueeze\"@@@",
16 "@@@STEP_LOG_LINE@json.output@]@@@", 17 "@@@STEP_LOG_LINE@json.output@]@@@",
17 "@@@STEP_LOG_END@json.output@@@", 18 "@@@STEP_LOG_END@json.output@@@",
18 "@@@STEP_LOG_LINE@python.inline@@@@", 19 "@@@STEP_LOG_LINE@python.inline@@@@",
19 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@", 20 "@@@STEP_LOG_LINE@python.inline@import json, os, sys@@@",
20 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path .isdir(sys.argv[1]):@@@", 21 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]) and os.path .isdir(sys.argv[1]):@@@",
21 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@", 22 "@@@STEP_LOG_LINE@python.inline@ with open(sys.argv[2], 'w') as f:@@@",
22 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@ @@", 23 "@@@STEP_LOG_LINE@python.inline@ json.dump(os.listdir(sys.argv[1]), f)@ @@",
23 "@@@STEP_LOG_END@python.inline@@@" 24 "@@@STEP_LOG_END@python.inline@@@"
24 ] 25 ]
25 }, 26 },
26 { 27 {
27 "cmd": [ 28 "cmd": [
28 "python", 29 "python",
29 "-u", 30 "-u",
30 "RECIPE_MODULE[zip]/resources/zip.py" 31 "RECIPE_MODULE[zip]/resources/zip.py"
31 ], 32 ],
33 "cwd": "[SLAVE_BUILD]",
32 "name": "zipping", 34 "name": "zipping",
33 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/src/out/Release/chrome\" , \"type\": \"file\"}, {\"path\": \"[SLAVE_BUILD]/src/out/Release/icu.dat\", \"t ype\": \"file\"}], \"output\": \"[SLAVE_BUILD]/chrome_staging/chrome-asan-mac-re lease-refs_heads_B1-123456.zip\", \"root\": \"[SLAVE_BUILD]/src/out/Release\", \ "use_python_zip\": false}" 35 "stdin": "{\"entries\": [{\"path\": \"[SLAVE_BUILD]/src/out/Release/chrome\" , \"type\": \"file\"}, {\"path\": \"[SLAVE_BUILD]/src/out/Release/icu.dat\", \"t ype\": \"file\"}], \"output\": \"[SLAVE_BUILD]/chrome_staging/chrome-asan-mac-re lease-refs_heads_B1-123456.zip\", \"root\": \"[SLAVE_BUILD]/src/out/Release\", \ "use_python_zip\": false}"
34 }, 36 },
35 { 37 {
36 "cmd": [ 38 "cmd": [
37 "python", 39 "python",
38 "-u", 40 "-u",
39 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py", 41 "RECIPE_MODULE[gsutil]/resources/gsutil_wrapper.py",
40 "--", 42 "--",
41 "[DEPOT_TOOLS]/gsutil.py", 43 "[DEPOT_TOOLS]/gsutil.py",
42 "--force-version", 44 "--force-version",
43 "3.25", 45 "3.25",
44 "--", 46 "--",
45 "cp", 47 "cp",
46 "-a", 48 "-a",
47 "public-read", 49 "public-read",
48 "-h", 50 "-h",
49 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}", 51 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}",
50 "-h", 52 "-h",
51 "x-goog-meta-Cr-Commit-Position-Number:123456", 53 "x-goog-meta-Cr-Commit-Position-Number:123456",
52 "-h", 54 "-h",
53 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef", 55 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef",
54 "[SLAVE_BUILD]/chrome_staging/chrome-asan-mac-release-refs_heads_B1-123456 .zip", 56 "[SLAVE_BUILD]/chrome_staging/chrome-asan-mac-release-refs_heads_B1-123456 .zip",
55 "gs://chromium/mac-release-subdir/chrome-asan-mac-release-refs_heads_B1-12 3456.zip" 57 "gs://chromium/mac-release-subdir/chrome-asan-mac-release-refs_heads_B1-12 3456.zip"
56 ], 58 ],
59 "cwd": "[SLAVE_BUILD]",
57 "name": "gsutil upload", 60 "name": "gsutil upload",
58 "~followup_annotations": [ 61 "~followup_annotations": [
59 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/mac- release-subdir/chrome-asan-mac-release-refs_heads_B1-123456.zip@@@" 62 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/mac- release-subdir/chrome-asan-mac-release-refs_heads_B1-123456.zip@@@"
60 ] 63 ]
61 }, 64 },
62 { 65 {
63 "cmd": [ 66 "cmd": [
64 "python", 67 "python",
65 "-u", 68 "-u",
66 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", 69 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
67 "[SLAVE_BUILD]/chrome_staging/chrome-asan-mac-release-refs_heads_B1-123456 .zip" 70 "[SLAVE_BUILD]/chrome_staging/chrome-asan-mac-release-refs_heads_B1-123456 .zip"
68 ], 71 ],
72 "cwd": "[SLAVE_BUILD]",
69 "name": "chrome-asan-mac-release-refs_heads_B1-123456.zip", 73 "name": "chrome-asan-mac-release-refs_heads_B1-123456.zip",
70 "~followup_annotations": [ 74 "~followup_annotations": [
71 "@@@STEP_LOG_LINE@python.inline@@@@", 75 "@@@STEP_LOG_LINE@python.inline@@@@",
72 "@@@STEP_LOG_LINE@python.inline@import os@@@", 76 "@@@STEP_LOG_LINE@python.inline@import os@@@",
73 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 77 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
74 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 78 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
75 "@@@STEP_LOG_END@python.inline@@@" 79 "@@@STEP_LOG_END@python.inline@@@"
76 ] 80 ]
77 } 81 }
78 ] 82 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698