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

Side by Side Diff: scripts/slave/recipe_modules/git_clone_bundler/example.expected/basic.json

Issue 1919193002: build: roll infra_paths changes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 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 os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n", 6 "\nimport os, sys\nfrom common import chromium_utils # Error? See https:// crbug.com/584783.\n\n\nif os.path.exists(sys.argv[1]):\n chromium_utils.RemoveD irectory(sys.argv[1])\n",
7 "[SLAVE_BUILD]/git_clone_bundler/bundles" 7 "[CWD]/git_clone_bundler/bundles"
8 ], 8 ],
9 "cwd": "[SLAVE_BUILD]",
10 "name": "rmtree old bundles", 9 "name": "rmtree old bundles",
11 "~followup_annotations": [ 10 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@", 11 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", 12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
14 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@", 13 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
15 "@@@STEP_LOG_LINE@python.inline@@@@", 14 "@@@STEP_LOG_LINE@python.inline@@@@",
16 "@@@STEP_LOG_LINE@python.inline@@@@", 15 "@@@STEP_LOG_LINE@python.inline@@@@",
17 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", 16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@", 17 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
19 "@@@STEP_LOG_END@python.inline@@@" 18 "@@@STEP_LOG_END@python.inline@@@"
20 ] 19 ]
21 }, 20 },
22 { 21 {
23 "cmd": [ 22 "cmd": [
24 "python", 23 "python",
25 "-u", 24 "-u",
26 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n", 25 "\nimport sys, os\npath = sys.argv[1]\nmode = int(sys.argv[2])\nif not os. path.isdir(path):\n if os.path.exists(path):\n print \"%s exists but is not a dir\" % path\n sys.exit(1)\n os.makedirs(path, mode)\n",
27 "[SLAVE_BUILD]/git_clone_bundler/bundles", 26 "[CWD]/git_clone_bundler/bundles",
28 "511" 27 "511"
29 ], 28 ],
30 "cwd": "[SLAVE_BUILD]",
31 "name": "makedirs bundles", 29 "name": "makedirs bundles",
32 "~followup_annotations": [ 30 "~followup_annotations": [
33 "@@@STEP_LOG_LINE@python.inline@@@@", 31 "@@@STEP_LOG_LINE@python.inline@@@@",
34 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", 32 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
35 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", 33 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
36 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", 34 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
37 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", 35 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
38 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", 36 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
39 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@", 37 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
40 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", 38 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
41 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", 39 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
42 "@@@STEP_LOG_END@python.inline@@@" 40 "@@@STEP_LOG_END@python.inline@@@"
43 ] 41 ]
44 }, 42 },
45 { 43 {
46 "cmd": [ 44 "cmd": [
47 "git", 45 "git",
48 "bundle", 46 "bundle",
49 "create", 47 "create",
50 "[SLAVE_BUILD]/git_clone_bundler/bundles/4c11f7d238ab3a5109562560694c3722. bundle", 48 "[CWD]/git_clone_bundler/bundles/4c11f7d238ab3a5109562560694c3722.bundle",
51 "--all" 49 "--all"
52 ], 50 ],
53 "cwd": "[SLAVE_BUILD]/checkout", 51 "cwd": "[CWD]/checkout",
54 "name": "create bundle" 52 "name": "create bundle"
55 }, 53 },
56 { 54 {
57 "cmd": [ 55 "cmd": [
58 "python", 56 "python",
59 "-u", 57 "-u",
60 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", 58 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py",
61 "--", 59 "--",
62 "[DEPOT_TOOLS]/gsutil.py", 60 "[ROOT]/b/depot_tools/gsutil.py",
63 "----", 61 "----",
64 "cp", 62 "cp",
65 "[SLAVE_BUILD]/git_clone_bundler/bundles/4c11f7d238ab3a5109562560694c3722. bundle", 63 "[CWD]/git_clone_bundler/bundles/4c11f7d238ab3a5109562560694c3722.bundle",
66 "gs://clone-dot-bundle-bucket/checkout/repository/clone.bundle" 64 "gs://clone-dot-bundle-bucket/checkout/repository/clone.bundle"
67 ], 65 ],
68 "cwd": "[SLAVE_BUILD]",
69 "name": "gsutil upload bundle", 66 "name": "gsutil upload bundle",
70 "~followup_annotations": [ 67 "~followup_annotations": [
71 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun dle-bucket/checkout/repository/clone.bundle@@@" 68 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun dle-bucket/checkout/repository/clone.bundle@@@"
72 ] 69 ]
73 }, 70 },
74 { 71 {
75 "name": "$result", 72 "name": "$result",
76 "recipe_result": null, 73 "recipe_result": null,
77 "status_code": 0 74 "status_code": 0
78 } 75 }
79 ] 76 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698