OLD | NEW |
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 "[CWD]/git_clone_bundler/bundles" | 7 "[SLAVE_BUILD]/git_clone_bundler/bundles" |
8 ], | 8 ], |
| 9 "cwd": "[SLAVE_BUILD]", |
9 "name": "rmtree old bundles", | 10 "name": "rmtree old bundles", |
10 "~followup_annotations": [ | 11 "~followup_annotations": [ |
11 "@@@STEP_LOG_LINE@python.inline@@@@", | 12 "@@@STEP_LOG_LINE@python.inline@@@@", |
12 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", | 13 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@", |
13 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", | 14 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error?
See https://crbug.com/584783.@@@", |
14 "@@@STEP_LOG_LINE@python.inline@@@@", | 15 "@@@STEP_LOG_LINE@python.inline@@@@", |
15 "@@@STEP_LOG_LINE@python.inline@@@@", | 16 "@@@STEP_LOG_LINE@python.inline@@@@", |
16 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", | 17 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@", |
17 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", | 18 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[
1])@@@", |
18 "@@@STEP_LOG_END@python.inline@@@" | 19 "@@@STEP_LOG_END@python.inline@@@" |
19 ] | 20 ] |
20 }, | 21 }, |
21 { | 22 { |
22 "cmd": [ | 23 "cmd": [ |
23 "python", | 24 "python", |
24 "-u", | 25 "-u", |
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", | 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", |
26 "[CWD]/git_clone_bundler/bundles", | 27 "[SLAVE_BUILD]/git_clone_bundler/bundles", |
27 "511" | 28 "511" |
28 ], | 29 ], |
| 30 "cwd": "[SLAVE_BUILD]", |
29 "name": "makedirs bundles", | 31 "name": "makedirs bundles", |
30 "~followup_annotations": [ | 32 "~followup_annotations": [ |
31 "@@@STEP_LOG_LINE@python.inline@@@@", | 33 "@@@STEP_LOG_LINE@python.inline@@@@", |
32 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 34 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
33 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 35 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
34 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 36 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
35 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 37 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
36 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 38 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
37 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 39 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
38 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 40 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
39 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 41 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
40 "@@@STEP_LOG_END@python.inline@@@" | 42 "@@@STEP_LOG_END@python.inline@@@" |
41 ] | 43 ] |
42 }, | 44 }, |
43 { | 45 { |
44 "cmd": [ | 46 "cmd": [ |
45 "python", | 47 "python", |
46 "-u", | 48 "-u", |
47 "\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", | 49 "\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", |
48 "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", | 50 "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", |
49 "511" | 51 "511" |
50 ], | 52 ], |
| 53 "cwd": "[SLAVE_BUILD]", |
51 "name": "makedirs repo", | 54 "name": "makedirs repo", |
52 "~followup_annotations": [ | 55 "~followup_annotations": [ |
53 "@@@STEP_LOG_LINE@python.inline@@@@", | 56 "@@@STEP_LOG_LINE@python.inline@@@@", |
54 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", | 57 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@", |
55 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", | 58 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@", |
56 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", | 59 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@", |
57 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", | 60 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@", |
58 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", | 61 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@", |
59 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", | 62 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" %
path@@@", |
60 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", | 63 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@", |
61 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", | 64 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@", |
62 "@@@STEP_LOG_END@python.inline@@@" | 65 "@@@STEP_LOG_END@python.inline@@@" |
63 ] | 66 ] |
64 }, | 67 }, |
65 { | 68 { |
66 "cmd": [ | 69 "cmd": [ |
67 "[ROOT]/b/depot_tools/repo", | 70 "[DEPOT_TOOLS]/repo", |
68 "init", | 71 "init", |
69 "-u", | 72 "-u", |
70 "https://googlesource.com/manifest.xml" | 73 "https://googlesource.com/manifest.xml" |
71 ], | 74 ], |
72 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", | 75 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4", |
73 "name": "repo init" | 76 "name": "repo init" |
74 }, | 77 }, |
75 { | 78 { |
76 "cmd": [ | 79 "cmd": [ |
77 "[ROOT]/b/depot_tools/repo", | 80 "[DEPOT_TOOLS]/repo", |
78 "sync", | 81 "sync", |
79 "--no-clone-bundle" | 82 "--no-clone-bundle" |
80 ], | 83 ], |
81 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", | 84 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4", |
82 "name": "repo sync" | 85 "name": "repo sync" |
83 }, | 86 }, |
84 { | 87 { |
85 "cmd": [ | 88 "cmd": [ |
86 "[ROOT]/b/depot_tools/repo", | 89 "[DEPOT_TOOLS]/repo", |
87 "list" | 90 "list" |
88 ], | 91 ], |
89 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484", | 92 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4", |
90 "name": "repo list", | 93 "name": "repo list", |
91 "stdout": "/path/to/tmp/", | 94 "stdout": "/path/to/tmp/", |
92 "~followup_annotations": [ | 95 "~followup_annotations": [ |
93 "@@@STEP_TEXT@</br></br>path/to/foo : src/foo</br>path/to/bar : src/bar</b
r>path/to/bar-v10 : src/bar@@@" | 96 "@@@STEP_TEXT@</br></br>path/to/foo : src/foo</br>path/to/bar : src/bar</b
r>path/to/bar-v10 : src/bar@@@" |
94 ] | 97 ] |
95 }, | 98 }, |
96 { | 99 { |
97 "cmd": [ | 100 "cmd": [ |
98 "git", | 101 "git", |
99 "bundle", | 102 "bundle", |
100 "create", | 103 "create", |
101 "[CWD]/git_clone_bundler/bundles/b30c7a01edcf711e48356dd038d8c03e.bundle", | 104 "[SLAVE_BUILD]/git_clone_bundler/bundles/b30c7a01edcf711e48356dd038d8c03e.
bundle", |
102 "--all" | 105 "--all" |
103 ], | 106 ], |
104 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484/path/t
o/foo", | 107 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4/path/to/foo", |
105 "name": "create bundle (src/foo)" | 108 "name": "create bundle (src/foo)" |
106 }, | 109 }, |
107 { | 110 { |
108 "cmd": [ | 111 "cmd": [ |
109 "python", | 112 "python", |
110 "-u", | 113 "-u", |
111 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 114 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
112 "--", | 115 "--", |
113 "[ROOT]/b/depot_tools/gsutil.py", | 116 "[DEPOT_TOOLS]/gsutil.py", |
114 "----", | 117 "----", |
115 "cp", | 118 "cp", |
116 "[CWD]/git_clone_bundler/bundles/b30c7a01edcf711e48356dd038d8c03e.bundle", | 119 "[SLAVE_BUILD]/git_clone_bundler/bundles/b30c7a01edcf711e48356dd038d8c03e.
bundle", |
117 "gs://clone-dot-bundle-bucket/checkout/repository/src/foo/clone.bundle" | 120 "gs://clone-dot-bundle-bucket/checkout/repository/src/foo/clone.bundle" |
118 ], | 121 ], |
| 122 "cwd": "[SLAVE_BUILD]", |
119 "name": "gsutil upload bundle (src/foo)", | 123 "name": "gsutil upload bundle (src/foo)", |
120 "~followup_annotations": [ | 124 "~followup_annotations": [ |
121 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/foo/clone.bundle@@@" | 125 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/foo/clone.bundle@@@" |
122 ] | 126 ] |
123 }, | 127 }, |
124 { | 128 { |
125 "cmd": [ | 129 "cmd": [ |
126 "git", | 130 "git", |
127 "config", | 131 "config", |
128 "--get", | 132 "--get", |
129 "remote.origin.url" | 133 "remote.origin.url" |
130 ], | 134 ], |
131 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484/path/t
o/foo", | 135 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4/path/to/foo", |
132 "name": "lookup Git remote (src/foo)", | 136 "name": "lookup Git remote (src/foo)", |
133 "stdout": "/path/to/tmp/" | 137 "stdout": "/path/to/tmp/" |
134 }, | 138 }, |
135 { | 139 { |
136 "cmd": [ | 140 "cmd": [ |
137 "git", | 141 "git", |
138 "bundle", | 142 "bundle", |
139 "create", | 143 "create", |
140 "[CWD]/git_clone_bundler/bundles/4e9dd63391c5eb1884b9b449679dfa16.bundle", | 144 "[SLAVE_BUILD]/git_clone_bundler/bundles/4e9dd63391c5eb1884b9b449679dfa16.
bundle", |
141 "--all" | 145 "--all" |
142 ], | 146 ], |
143 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484/path/t
o/bar", | 147 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4/path/to/bar", |
144 "name": "create bundle (src/bar)" | 148 "name": "create bundle (src/bar)" |
145 }, | 149 }, |
146 { | 150 { |
147 "cmd": [ | 151 "cmd": [ |
148 "python", | 152 "python", |
149 "-u", | 153 "-u", |
150 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", | 154 "RECIPE_MODULE[build::gsutil]/resources/gsutil_wrapper.py", |
151 "--", | 155 "--", |
152 "[ROOT]/b/depot_tools/gsutil.py", | 156 "[DEPOT_TOOLS]/gsutil.py", |
153 "----", | 157 "----", |
154 "cp", | 158 "cp", |
155 "[CWD]/git_clone_bundler/bundles/4e9dd63391c5eb1884b9b449679dfa16.bundle", | 159 "[SLAVE_BUILD]/git_clone_bundler/bundles/4e9dd63391c5eb1884b9b449679dfa16.
bundle", |
156 "gs://clone-dot-bundle-bucket/checkout/repository/src/bar/clone.bundle" | 160 "gs://clone-dot-bundle-bucket/checkout/repository/src/bar/clone.bundle" |
157 ], | 161 ], |
| 162 "cwd": "[SLAVE_BUILD]", |
158 "name": "gsutil upload bundle (src/bar)", | 163 "name": "gsutil upload bundle (src/bar)", |
159 "~followup_annotations": [ | 164 "~followup_annotations": [ |
160 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/bar/clone.bundle@@@" | 165 "@@@STEP_LINK@gsutil bundle@https://storage.cloud.google.com/clone-dot-bun
dle-bucket/checkout/repository/src/bar/clone.bundle@@@" |
161 ] | 166 ] |
162 }, | 167 }, |
163 { | 168 { |
164 "cmd": [ | 169 "cmd": [ |
165 "git", | 170 "git", |
166 "config", | 171 "config", |
167 "--get", | 172 "--get", |
168 "remote.origin.url" | 173 "remote.origin.url" |
169 ], | 174 ], |
170 "cwd": "[CWD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b484/path/t
o/bar", | 175 "cwd": "[SLAVE_BUILD]/git_clone_bundler/repo/baa8c54f5ad38fa45e904e6bdfb6b48
4/path/to/bar", |
171 "name": "lookup Git remote (src/bar)", | 176 "name": "lookup Git remote (src/bar)", |
172 "stdout": "/path/to/tmp/" | 177 "stdout": "/path/to/tmp/" |
173 }, | 178 }, |
174 { | 179 { |
175 "name": "$result", | 180 "name": "$result", |
176 "recipe_result": null, | 181 "recipe_result": null, |
177 "status_code": 0 | 182 "status_code": 0 |
178 } | 183 } |
179 ] | 184 ] |
OLD | NEW |