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