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

Side by Side Diff: scripts/slave/recipe_modules/archive/example.expected/cf_archiving_svn_with_git.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@]@@@", 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 "-h", 50 "-h",
49 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef", 51 "x-goog-meta-Cr-Git-Commit:5e3250aadda2b170692f8e762d43b7e8deadbeef",
50 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234 56.zip", 52 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234 56.zip",
51 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345 6.zip" 53 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345 6.zip"
52 ], 54 ],
55 "cwd": "[SLAVE_BUILD]",
53 "name": "gsutil upload", 56 "name": "gsutil upload",
54 "~followup_annotations": [ 57 "~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@@@" 58 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@"
56 ] 59 ]
57 }, 60 },
58 { 61 {
59 "cmd": [ 62 "cmd": [
60 "python", 63 "python",
61 "-u", 64 "-u",
62 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", 65 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
63 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234 56.zip" 66 "[SLAVE_BUILD]/chrome_staging/chrome-asan-linux-release-refs_heads_B1-1234 56.zip"
64 ], 67 ],
68 "cwd": "[SLAVE_BUILD]",
65 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", 69 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip",
66 "~followup_annotations": [ 70 "~followup_annotations": [
67 "@@@STEP_LOG_LINE@python.inline@@@@", 71 "@@@STEP_LOG_LINE@python.inline@@@@",
68 "@@@STEP_LOG_LINE@python.inline@import os@@@", 72 "@@@STEP_LOG_LINE@python.inline@import os@@@",
69 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 73 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
70 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 74 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
71 "@@@STEP_LOG_END@python.inline@@@" 75 "@@@STEP_LOG_END@python.inline@@@"
72 ] 76 ]
73 } 77 }
74 ] 78 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698