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

Side by Side Diff: infra/bots/recipes/swarm_RecreateSKPs.expected/Housekeeper-Nightly-RecreateSKPs_Canary.json

Issue 2175373002: Move Skia recipes from build repo (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Partially address comments Created 4 years, 4 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
(Empty)
1 [
2 {
3 "cmd": [
4 "python",
5 "-u",
6 "\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",
7 "[CUSTOM_/_B_WORK]",
8 "511"
9 ],
10 "name": "makedirs checkout_path",
11 "~followup_annotations": [
12 "@@@STEP_LOG_LINE@python.inline@@@@",
13 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
14 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
15 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
16 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
17 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
18 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
19 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
20 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
21 "@@@STEP_LOG_END@python.inline@@@"
22 ]
23 },
24 {
25 "cmd": [
26 "python",
27 "-u",
28 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
29 "config",
30 "--spec",
31 "cache_dir = '[CUSTOM_/_B_CACHE]'\nsolutions = [{'deps_file': 'DEPS', 'man aged': False, 'name': 'skia', 'url': 'https://skia.googlesource.com/skia.git'}, {'deps_file': 'DEPS', 'managed': False, 'name': 'src', 'url': 'https://chromium. googlesource.com/chromium/src.git'}]\ntarget_os = ['llvm']"
32 ],
33 "cwd": "[CUSTOM_/_B_WORK]",
34 "env": {
35 "CHROME_HEADLESS": "1",
36 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
37 },
38 "name": "gclient setup"
39 },
40 {
41 "cmd": [
42 "python",
43 "-u",
44 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
45 "sync",
46 "--nohooks",
47 "--force",
48 "--verbose",
49 "--delete_unversioned_trees",
50 "--revision",
51 "skia@abc123",
52 "--revision",
53 "src@origin/lkgr",
54 "--output-json",
55 "/path/to/tmp/json"
56 ],
57 "cwd": "[CUSTOM_/_B_WORK]",
58 "env": {
59 "CHROME_HEADLESS": "1",
60 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]:RECIPE_PACKAGE_REPO[dep ot_tools]"
61 },
62 "name": "gclient sync",
63 "~followup_annotations": [
64 "@@@STEP_LOG_LINE@json.output@{@@@",
65 "@@@STEP_LOG_LINE@json.output@ \"solutions\": {@@@",
66 "@@@STEP_LOG_LINE@json.output@ \"skia/\": {@@@",
67 "@@@STEP_LOG_LINE@json.output@ \"revision\": 164710@@@",
68 "@@@STEP_LOG_LINE@json.output@ }, @@@",
69 "@@@STEP_LOG_LINE@json.output@ \"src/\": {@@@",
70 "@@@STEP_LOG_LINE@json.output@ \"revision\": 170242@@@",
71 "@@@STEP_LOG_LINE@json.output@ }@@@",
72 "@@@STEP_LOG_LINE@json.output@ }@@@",
73 "@@@STEP_LOG_LINE@json.output@}@@@",
74 "@@@STEP_LOG_END@json.output@@@",
75 "@@@SET_BUILD_PROPERTY@got_revision@164710@@@"
76 ]
77 },
78 {
79 "cmd": [
80 "python",
81 "-u",
82 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
83 "runhooks"
84 ],
85 "cwd": "[CUSTOM_/_B_WORK]",
86 "env": {
87 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
88 },
89 "name": "gclient runhooks"
90 },
91 {
92 "cmd": [
93 "python",
94 "-u",
95 "[CUSTOM_/_B_WORK]/skia/tools/buildbot_spec.py",
96 "/path/to/tmp/json",
97 "Housekeeper-Nightly-RecreateSKPs_Canary"
98 ],
99 "cwd": "[CUSTOM_/_B_WORK]/skia",
100 "name": "exec buildbot_spec.py",
101 "~followup_annotations": [
102 "@@@STEP_LOG_LINE@json.output@{@@@",
103 "@@@STEP_LOG_LINE@json.output@ \"build_targets\": [@@@",
104 "@@@STEP_LOG_LINE@json.output@ \"most\"@@@",
105 "@@@STEP_LOG_LINE@json.output@ ], @@@",
106 "@@@STEP_LOG_LINE@json.output@ \"builder_cfg\": {@@@",
107 "@@@STEP_LOG_LINE@json.output@ \"extra_config\": \"RecreateSKPs_Canary\ ", @@@",
108 "@@@STEP_LOG_LINE@json.output@ \"frequency\": \"Nightly\", @@@",
109 "@@@STEP_LOG_LINE@json.output@ \"is_trybot\": false, @@@",
110 "@@@STEP_LOG_LINE@json.output@ \"role\": \"Housekeeper\"@@@",
111 "@@@STEP_LOG_LINE@json.output@ }, @@@",
112 "@@@STEP_LOG_LINE@json.output@ \"configuration\": \"Release\", @@@",
113 "@@@STEP_LOG_LINE@json.output@ \"dm_flags\": [@@@",
114 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
115 "@@@STEP_LOG_LINE@json.output@ ], @@@",
116 "@@@STEP_LOG_LINE@json.output@ \"do_perf_steps\": false, @@@",
117 "@@@STEP_LOG_LINE@json.output@ \"do_test_steps\": false, @@@",
118 "@@@STEP_LOG_LINE@json.output@ \"env\": {@@@",
119 "@@@STEP_LOG_LINE@json.output@ \"GYP_DEFINES\": \"skia_shared_lib=1 ski a_warnings_as_errors=0\"@@@",
120 "@@@STEP_LOG_LINE@json.output@ }, @@@",
121 "@@@STEP_LOG_LINE@json.output@ \"nanobench_flags\": [@@@",
122 "@@@STEP_LOG_LINE@json.output@ \"--dummy-flags\"@@@",
123 "@@@STEP_LOG_LINE@json.output@ ], @@@",
124 "@@@STEP_LOG_LINE@json.output@ \"upload_dm_results\": true, @@@",
125 "@@@STEP_LOG_LINE@json.output@ \"upload_perf_results\": false@@@",
126 "@@@STEP_LOG_LINE@json.output@}@@@",
127 "@@@STEP_LOG_END@json.output@@@"
128 ]
129 },
130 {
131 "cmd": [
132 "python",
133 "-u",
134 "\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",
135 "[SLAVE_BUILD]/tmp",
136 "511"
137 ],
138 "name": "makedirs tmp_dir",
139 "~followup_annotations": [
140 "@@@STEP_LOG_LINE@python.inline@@@@",
141 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
142 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
143 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
144 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
145 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
146 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
147 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
148 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
149 "@@@STEP_LOG_END@python.inline@@@"
150 ]
151 },
152 {
153 "cmd": [
154 "python",
155 "-u",
156 "RECIPE_PACKAGE_REPO[depot_tools]/gclient.py",
157 "runhooks"
158 ],
159 "cwd": "[CUSTOM_/_B_WORK]/skia",
160 "env": {
161 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1",
162 "PATH": "%(PATH)s:RECIPE_PACKAGE_REPO[depot_tools]"
163 },
164 "name": "gclient runhooks (2)"
165 },
166 {
167 "cmd": [
168 "build/gyp_chromium"
169 ],
170 "cwd": "[CUSTOM_/_B_WORK]/src",
171 "env": {
172 "CPPFLAGS": "-DSK_ALLOW_CROSSPROCESS_PICTUREIMAGEFILTERS=1",
173 "GYP_GENERATORS": "ninja"
174 },
175 "name": "gyp_chromium"
176 },
177 {
178 "cmd": [
179 "ninja",
180 "-C",
181 "out/Release",
182 "chrome"
183 ],
184 "cwd": "[CUSTOM_/_B_WORK]/src",
185 "name": "Build Chrome"
186 },
187 {
188 "cmd": [
189 "python",
190 "-u",
191 "\nimport os\nimport urllib2\n\nBOTO_URL = 'http://metadata/computeMetadat a/v1/project/attributes/boto-file'\n\ndest_path = '[SLAVE_BUILD]/tmp/.boto'\ndes t_dir = os.path.dirname(dest_path)\nif not os.path.exists(dest_dir):\n os.maked irs(dest_dir)\n\nreq = urllib2.Request(BOTO_URL, headers={'Metadata-Flavor': 'Go ogle'})\ncontents = urllib2.urlopen(req).read()\n\nwith open(dest_path, 'w') as f:\n f.write(contents)\n"
192 ],
193 "name": "download boto file",
194 "~followup_annotations": [
195 "@@@STEP_LOG_LINE@python.inline@@@@",
196 "@@@STEP_LOG_LINE@python.inline@import os@@@",
197 "@@@STEP_LOG_LINE@python.inline@import urllib2@@@",
198 "@@@STEP_LOG_LINE@python.inline@@@@",
199 "@@@STEP_LOG_LINE@python.inline@BOTO_URL = 'http://metadata/computeMetadat a/v1/project/attributes/boto-file'@@@",
200 "@@@STEP_LOG_LINE@python.inline@@@@",
201 "@@@STEP_LOG_LINE@python.inline@dest_path = '[SLAVE_BUILD]/tmp/.boto'@@@",
202 "@@@STEP_LOG_LINE@python.inline@dest_dir = os.path.dirname(dest_path)@@@",
203 "@@@STEP_LOG_LINE@python.inline@if not os.path.exists(dest_dir):@@@",
204 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(dest_dir)@@@",
205 "@@@STEP_LOG_LINE@python.inline@@@@",
206 "@@@STEP_LOG_LINE@python.inline@req = urllib2.Request(BOTO_URL, headers={' Metadata-Flavor': 'Google'})@@@",
207 "@@@STEP_LOG_LINE@python.inline@contents = urllib2.urlopen(req).read()@@@" ,
208 "@@@STEP_LOG_LINE@python.inline@@@@",
209 "@@@STEP_LOG_LINE@python.inline@with open(dest_path, 'w') as f:@@@",
210 "@@@STEP_LOG_LINE@python.inline@ f.write(contents)@@@",
211 "@@@STEP_LOG_END@python.inline@@@"
212 ]
213 },
214 {
215 "cmd": [
216 "python",
217 "-u",
218 "\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",
219 "[SLAVE_BUILD]/skp_output"
220 ],
221 "name": "rmtree skp_output",
222 "~followup_annotations": [
223 "@@@STEP_LOG_LINE@python.inline@@@@",
224 "@@@STEP_LOG_LINE@python.inline@import os, sys@@@",
225 "@@@STEP_LOG_LINE@python.inline@from common import chromium_utils # Error? See https://crbug.com/584783.@@@",
226 "@@@STEP_LOG_LINE@python.inline@@@@",
227 "@@@STEP_LOG_LINE@python.inline@@@@",
228 "@@@STEP_LOG_LINE@python.inline@if os.path.exists(sys.argv[1]):@@@",
229 "@@@STEP_LOG_LINE@python.inline@ chromium_utils.RemoveDirectory(sys.argv[ 1])@@@",
230 "@@@STEP_LOG_END@python.inline@@@"
231 ]
232 },
233 {
234 "cmd": [
235 "python",
236 "-u",
237 "\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",
238 "[SLAVE_BUILD]/skp_output",
239 "511"
240 ],
241 "name": "makedirs skp_output",
242 "~followup_annotations": [
243 "@@@STEP_LOG_LINE@python.inline@@@@",
244 "@@@STEP_LOG_LINE@python.inline@import sys, os@@@",
245 "@@@STEP_LOG_LINE@python.inline@path = sys.argv[1]@@@",
246 "@@@STEP_LOG_LINE@python.inline@mode = int(sys.argv[2])@@@",
247 "@@@STEP_LOG_LINE@python.inline@if not os.path.isdir(path):@@@",
248 "@@@STEP_LOG_LINE@python.inline@ if os.path.exists(path):@@@",
249 "@@@STEP_LOG_LINE@python.inline@ print \"%s exists but is not a dir\" % path@@@",
250 "@@@STEP_LOG_LINE@python.inline@ sys.exit(1)@@@",
251 "@@@STEP_LOG_LINE@python.inline@ os.makedirs(path, mode)@@@",
252 "@@@STEP_LOG_END@python.inline@@@"
253 ]
254 },
255 {
256 "cmd": [
257 "python",
258 "[CUSTOM_/_B_WORK]/skia/infra/bots/assets/skp/create.py",
259 "--chrome_src_path",
260 "[CUSTOM_/_B_WORK]/src",
261 "--browser_executable",
262 "[CUSTOM_/_B_WORK]/src/out/Release/chrome",
263 "--target_dir",
264 "[SLAVE_BUILD]/skp_output"
265 ],
266 "cwd": "[CUSTOM_/_B_WORK]/skia",
267 "env": {
268 "AWS_CREDENTIAL_FILE": "[SLAVE_BUILD]/tmp/.boto",
269 "BOTO_CONFIG": "[SLAVE_BUILD]/tmp/.boto",
270 "CHROME_HEADLESS": "1",
271 "PATH": "[DEPOT_TOOLS]:%(PATH)s"
272 },
273 "name": "Recreate SKPs"
274 },
275 {
276 "name": "$result",
277 "recipe_result": null,
278 "status_code": 0
279 }
280 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698