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

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

Issue 1917243002: Revert "build: roll infra_paths changes" (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 8 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
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 "[CWD]/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[build::archive]/resources/zip_archive.py", 29 "RECIPE_MODULE[build::archive]/resources/zip_archive.py",
29 "[TMP]/chrome_staging_tmp_1", 30 "[TMP_BASE]/chrome_staging_tmp_1",
30 "chrome-asan-linux-release-refs_heads_B1-123456", 31 "chrome-asan-linux-release-refs_heads_B1-123456",
31 "[\"chrome\"]", 32 "[\"chrome\"]",
32 "[CWD]/src/out/Release" 33 "[SLAVE_BUILD]/src/out/Release"
33 ], 34 ],
35 "cwd": "[SLAVE_BUILD]",
34 "name": "zipping" 36 "name": "zipping"
35 }, 37 },
36 { 38 {
37 "cmd": [ 39 "cmd": [
38 "python", 40 "python",
39 "-u", 41 "-u",
40 "[ROOT]/b/depot_tools/gsutil.py", 42 "[DEPOT_TOOLS]/gsutil.py",
41 "--", 43 "--",
42 "-h", 44 "-h",
43 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}", 45 "x-goog-meta-Cr-Commit-Position:refs/heads/B1@{#123456}",
44 "-h", 46 "-h",
45 "x-goog-meta-Cr-Commit-Position-Number:123456", 47 "x-goog-meta-Cr-Commit-Position-Number:123456",
46 "cp", 48 "cp",
47 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-123456 .zip", 49 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-1 23456.zip",
48 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345 6.zip" 50 "gs://chromium/linux-release/chrome-asan-linux-release-refs_heads_B1-12345 6.zip"
49 ], 51 ],
52 "cwd": "[SLAVE_BUILD]",
50 "name": "gsutil upload", 53 "name": "gsutil upload",
51 "~followup_annotations": [ 54 "~followup_annotations": [
52 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@" 55 "@@@STEP_LINK@gsutil.upload@https://storage.cloud.google.com/chromium/linu x-release/chrome-asan-linux-release-refs_heads_B1-123456.zip@@@"
53 ] 56 ]
54 }, 57 },
55 { 58 {
56 "cmd": [ 59 "cmd": [
57 "python", 60 "python",
58 "-u", 61 "-u",
59 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n", 62 "\nimport os\nimport sys\nos.remove(sys.argv[1])\n",
60 "[TMP]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-123456 .zip" 63 "[TMP_BASE]/chrome_staging_tmp_1/chrome-asan-linux-release-refs_heads_B1-1 23456.zip"
61 ], 64 ],
65 "cwd": "[SLAVE_BUILD]",
62 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip", 66 "name": "chrome-asan-linux-release-refs_heads_B1-123456.zip",
63 "~followup_annotations": [ 67 "~followup_annotations": [
64 "@@@STEP_LOG_LINE@python.inline@@@@", 68 "@@@STEP_LOG_LINE@python.inline@@@@",
65 "@@@STEP_LOG_LINE@python.inline@import os@@@", 69 "@@@STEP_LOG_LINE@python.inline@import os@@@",
66 "@@@STEP_LOG_LINE@python.inline@import sys@@@", 70 "@@@STEP_LOG_LINE@python.inline@import sys@@@",
67 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@", 71 "@@@STEP_LOG_LINE@python.inline@os.remove(sys.argv[1])@@@",
68 "@@@STEP_LOG_END@python.inline@@@" 72 "@@@STEP_LOG_END@python.inline@@@"
69 ] 73 ]
70 }, 74 },
71 { 75 {
72 "name": "$result", 76 "name": "$result",
73 "recipe_result": null, 77 "recipe_result": null,
74 "status_code": 0 78 "status_code": 0
75 } 79 }
76 ] 80 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698