blob: 437af1404f8ebf671e43477ec333286a65dd5864 [file] [log] [blame]
Eric Boren7e97dc02017-02-02 09:02:37 -05001[
2 {
3 "cmd": [
4 "python",
5 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -04006 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
7 "--json-output",
8 "/path/to/tmp/json",
Eric Borenb7023162018-05-04 13:46:15 -04009 "ensure-directory",
10 "--mode",
11 "0777",
12 "[START_DIR]/tmp"
13 ],
14 "infra_step": true,
15 "name": "makedirs tmp_dir"
16 },
17 {
18 "cmd": [
19 "python",
20 "-u",
21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22 "--json-output",
23 "/path/to/tmp/json",
Eric Boren3e2ffd72017-06-16 13:10:22 -040024 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050025 "[START_DIR]/skia/infra/bots/assets/skp/VERSION",
26 "/path/to/tmp/"
27 ],
Eric Borena1590852017-03-20 12:48:31 -040028 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040029 "name": "Get skp VERSION"
Eric Boren7e97dc02017-02-02 09:02:37 -050030 },
31 {
32 "cmd": [
33 "python",
34 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040035 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36 "--json-output",
37 "/path/to/tmp/json",
38 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050039 "42",
40 "[START_DIR]/tmp/SKP_VERSION"
41 ],
Eric Borena1590852017-03-20 12:48:31 -040042 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050043 "name": "write SKP_VERSION"
44 },
45 {
46 "cmd": [
47 "python",
48 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040049 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50 "--json-output",
51 "/path/to/tmp/json",
52 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050053 "[START_DIR]/skia/infra/bots/assets/skimage/VERSION",
54 "/path/to/tmp/"
55 ],
Eric Borena1590852017-03-20 12:48:31 -040056 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040057 "name": "Get skimage VERSION"
Eric Boren7e97dc02017-02-02 09:02:37 -050058 },
59 {
60 "cmd": [
61 "python",
62 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040063 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
64 "--json-output",
65 "/path/to/tmp/json",
66 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050067 "42",
68 "[START_DIR]/tmp/SK_IMAGE_VERSION"
69 ],
Eric Borena1590852017-03-20 12:48:31 -040070 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050071 "name": "write SK_IMAGE_VERSION"
72 },
73 {
74 "cmd": [
75 "python",
76 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040077 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
78 "--json-output",
79 "/path/to/tmp/json",
80 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050081 "[START_DIR]/skia/infra/bots/assets/svg/VERSION",
82 "/path/to/tmp/"
83 ],
Eric Borena1590852017-03-20 12:48:31 -040084 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040085 "name": "Get svg VERSION"
Eric Boren7e97dc02017-02-02 09:02:37 -050086 },
87 {
88 "cmd": [
89 "python",
90 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040091 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
92 "--json-output",
93 "/path/to/tmp/json",
94 "copy",
Eric Boren7e97dc02017-02-02 09:02:37 -050095 "42",
96 "[START_DIR]/tmp/SVG_VERSION"
97 ],
Eric Borena1590852017-03-20 12:48:31 -040098 "infra_step": true,
Eric Boren7e97dc02017-02-02 09:02:37 -050099 "name": "write SVG_VERSION"
100 },
101 {
102 "cmd": [
103 "python",
104 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -0400105 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
106 "--json-output",
107 "/path/to/tmp/json",
Eric Boren5128bd42017-03-06 08:06:16 -0500108 "rmtree",
Eric Borencd0a98c2018-06-20 13:23:16 -0400109 "[START_DIR]/[SWARM_OUT_DIR]"
Eric Boren7e97dc02017-02-02 09:02:37 -0500110 ],
Eric Borena1590852017-03-20 12:48:31 -0400111 "infra_step": true,
Eric Borencd0a98c2018-06-20 13:23:16 -0400112 "name": "rmtree [SWARM_OUT_DIR]"
Eric Boren7e97dc02017-02-02 09:02:37 -0500113 },
114 {
115 "cmd": [
116 "python",
117 "-u",
Robert Iannucci8cd50412017-07-07 14:36:58 -0700118 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
119 "--json-output",
120 "/path/to/tmp/json",
121 "ensure-directory",
122 "--mode",
123 "0777",
Eric Borencd0a98c2018-06-20 13:23:16 -0400124 "[START_DIR]/[SWARM_OUT_DIR]"
Eric Boren7e97dc02017-02-02 09:02:37 -0500125 ],
Eric Borena1590852017-03-20 12:48:31 -0400126 "infra_step": true,
Eric Borencd0a98c2018-06-20 13:23:16 -0400127 "name": "makedirs [SWARM_OUT_DIR]"
Eric Boren7e97dc02017-02-02 09:02:37 -0500128 },
129 {
130 "cmd": [
Eric Borenf9aa9e52017-04-10 09:56:10 -0400131 "python",
132 "-u",
133 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
134 ],
135 "name": "get swarming bot id",
136 "stdout": "/path/to/tmp/",
137 "~followup_annotations": [
138 "@@@STEP_LOG_LINE@python.inline@import os@@@",
139 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
140 "@@@STEP_LOG_END@python.inline@@@"
141 ]
142 },
143 {
144 "cmd": [
145 "python",
146 "-u",
147 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
148 ],
149 "name": "get swarming task id",
150 "stdout": "/path/to/tmp/",
151 "~followup_annotations": [
152 "@@@STEP_LOG_LINE@python.inline@import os@@@",
153 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
154 "@@@STEP_LOG_END@python.inline@@@"
155 ]
156 },
157 {
158 "cmd": [
Eric Boren322a8592018-06-01 10:08:53 -0400159 "[START_DIR]/build/nanobench",
Eric Boren7e97dc02017-02-02 09:02:37 -0500160 "-i",
161 "[START_DIR]/skia/resources",
162 "--skps",
163 "[START_DIR]/skp",
164 "--images",
165 "[START_DIR]/skimage/nanobench",
166 "--svgs",
167 "[START_DIR]/svg",
Eric Boren7e97dc02017-02-02 09:02:37 -0500168 "--pre_log",
Kevin Lubickfe079d42017-04-12 08:31:48 -0400169 "--images",
170 "--gpuStatsDump",
171 "true",
Eric Boren7e97dc02017-02-02 09:02:37 -0500172 "--scales",
173 "1.0",
174 "1.1",
Ben Wagner32fa5102017-08-10 21:25:55 -0400175 "--nocpu",
Eric Boren7e97dc02017-02-02 09:02:37 -0500176 "--config",
Brian Salomon980fb362017-03-17 14:39:27 -0400177 "gl",
Ben Wagner769faa22017-08-11 15:32:50 -0400178 "glsrgb",
Brian Osman5e117772018-06-20 14:53:06 -0400179 "glesrgb",
Eric Boren7e97dc02017-02-02 09:02:37 -0500180 "--match",
181 "~inc0.gif",
182 "~inc1.gif",
183 "~incInterlaced.gif",
184 "~inc0.jpg",
185 "~incGray.jpg",
186 "~inc0.wbmp",
187 "~inc1.wbmp",
188 "~inc0.webp",
189 "~inc1.webp",
190 "~inc0.ico",
191 "~inc1.ico",
192 "~inc0.png",
193 "~inc1.png",
194 "~inc2.png",
195 "~inc12.png",
196 "~inc13.png",
197 "~inc14.png",
198 "~inc0.webp",
199 "~inc1.webp",
200 "--outResultsFile",
Eric Borencd0a98c2018-06-20 13:23:16 -0400201 "[START_DIR]/[SWARM_OUT_DIR]/nanobench_abc123_1337000001.json",
Eric Boren7e97dc02017-02-02 09:02:37 -0500202 "--properties",
203 "gitHash",
204 "abc123",
Kevin Lubickfe079d42017-04-12 08:31:48 -0400205 "issue",
206 "456789",
207 "patchset",
208 "12",
209 "patch_storage",
210 "gerrit",
Eric Borenf9aa9e52017-04-10 09:56:10 -0400211 "swarming_bot_id",
212 "",
213 "swarming_task_id",
214 "",
Eric Boren7e97dc02017-02-02 09:02:37 -0500215 "--key",
216 "arch",
217 "x86_64",
218 "compiler",
Ben Wagner9fb285e2017-10-02 16:53:07 -0400219 "Clang",
Eric Boren7e97dc02017-02-02 09:02:37 -0500220 "cpu_or_gpu",
Kevin Lubickfe079d42017-04-12 08:31:48 -0400221 "GPU",
Eric Boren7e97dc02017-02-02 09:02:37 -0500222 "cpu_or_gpu_value",
Ben Wagner7cf2fd62017-10-09 14:27:26 -0400223 "IntelHD4400",
Eric Boren7e97dc02017-02-02 09:02:37 -0500224 "model",
Ben Wagner7cf2fd62017-10-09 14:27:26 -0400225 "NUCD34010WYKH",
Eric Boren7e97dc02017-02-02 09:02:37 -0500226 "os",
Kevin Lubickfe079d42017-04-12 08:31:48 -0400227 "Win10"
Eric Boren7e97dc02017-02-02 09:02:37 -0500228 ],
Kevin Lubick0a51b482017-02-06 12:45:29 -0500229 "env": {
Kevin Lubick0a51b482017-02-06 12:45:29 -0500230 "CHROME_HEADLESS": "1",
Eric Boren0f690102018-05-15 15:04:58 -0400231 "PATH": "<PATH>:RECIPE_PACKAGE_REPO[depot_tools]"
Kevin Lubick0a51b482017-02-06 12:45:29 -0500232 },
Eric Boren7e97dc02017-02-02 09:02:37 -0500233 "name": "nanobench"
234 },
235 {
236 "cmd": [
237 "python",
238 "-u",
Robert Iannucci8cd50412017-07-07 14:36:58 -0700239 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
240 "--json-output",
241 "/path/to/tmp/json",
242 "ensure-directory",
243 "--mode",
244 "0777",
Eric Borencd0a98c2018-06-20 13:23:16 -0400245 "[START_DIR]/[SWARM_OUT_DIR]"
Eric Boren7e97dc02017-02-02 09:02:37 -0500246 ],
Eric Boren3e2ffd72017-06-16 13:10:22 -0400247 "infra_step": true,
Robert Iannucci8cd50412017-07-07 14:36:58 -0700248 "name": "makedirs perf_dir"
Eric Boren7e97dc02017-02-02 09:02:37 -0500249 },
250 {
251 "name": "$result",
252 "recipe_result": null,
253 "status_code": 0
254 }
255]