blob: 17eb0345cd328f4c3ed5ac703ff39ea8fbe3f0f5 [file] [log] [blame]
Ben Wagner38a56012017-04-28 17:13:32 -04001[
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",
9 "copy",
Ben Wagner38a56012017-04-28 17:13:32 -040010 "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION",
11 "/path/to/tmp/"
12 ],
13 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040014 "name": "Get skp VERSION"
Ben Wagner38a56012017-04-28 17:13:32 -040015 },
16 {
17 "cmd": [
18 "python",
19 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040020 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
21 "--json-output",
22 "/path/to/tmp/json",
23 "copy",
Ben Wagner38a56012017-04-28 17:13:32 -040024 "42",
25 "[START_DIR]\\tmp\\SKP_VERSION"
26 ],
27 "infra_step": true,
28 "name": "write SKP_VERSION"
29 },
30 {
31 "cmd": [
32 "python",
33 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040034 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
35 "--json-output",
36 "/path/to/tmp/json",
37 "copy",
Ben Wagner38a56012017-04-28 17:13:32 -040038 "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION",
39 "/path/to/tmp/"
40 ],
41 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040042 "name": "Get skimage VERSION"
Ben Wagner38a56012017-04-28 17:13:32 -040043 },
44 {
45 "cmd": [
46 "python",
47 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040048 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
49 "--json-output",
50 "/path/to/tmp/json",
51 "copy",
Ben Wagner38a56012017-04-28 17:13:32 -040052 "42",
53 "[START_DIR]\\tmp\\SK_IMAGE_VERSION"
54 ],
55 "infra_step": true,
56 "name": "write SK_IMAGE_VERSION"
57 },
58 {
59 "cmd": [
60 "python",
61 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040062 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
63 "--json-output",
64 "/path/to/tmp/json",
65 "copy",
Ben Wagner38a56012017-04-28 17:13:32 -040066 "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION",
67 "/path/to/tmp/"
68 ],
69 "infra_step": true,
Ben Wagnerf20710e2018-03-19 16:52:37 -040070 "name": "Get svg VERSION"
Ben Wagner38a56012017-04-28 17:13:32 -040071 },
72 {
73 "cmd": [
74 "python",
75 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040076 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
77 "--json-output",
78 "/path/to/tmp/json",
79 "copy",
Ben Wagner38a56012017-04-28 17:13:32 -040080 "42",
81 "[START_DIR]\\tmp\\SVG_VERSION"
82 ],
83 "infra_step": true,
84 "name": "write SVG_VERSION"
85 },
86 {
87 "cmd": [
88 "python",
89 "-u",
Eric Boren3e2ffd72017-06-16 13:10:22 -040090 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
91 "--json-output",
92 "/path/to/tmp/json",
Ben Wagner38a56012017-04-28 17:13:32 -040093 "rmtree",
Eric Borenbd2e1f12018-04-17 11:28:46 +000094 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Release-All-ANGLE\\data"
Ben Wagner38a56012017-04-28 17:13:32 -040095 ],
Ben Wagner38a56012017-04-28 17:13:32 -040096 "infra_step": true,
97 "name": "rmtree data"
98 },
99 {
100 "cmd": [
101 "python",
102 "-u",
Robert Iannucci8cd50412017-07-07 14:36:58 -0700103 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
104 "--json-output",
105 "/path/to/tmp/json",
106 "ensure-directory",
107 "--mode",
108 "0777",
Eric Borenbd2e1f12018-04-17 11:28:46 +0000109 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Release-All-ANGLE\\data"
Ben Wagner38a56012017-04-28 17:13:32 -0400110 ],
111 "infra_step": true,
Robert Iannucci8cd50412017-07-07 14:36:58 -0700112 "name": "makedirs data"
Ben Wagner38a56012017-04-28 17:13:32 -0400113 },
114 {
115 "cmd": [
116 "python",
117 "-u",
118 "import os\nprint os.environ.get('SWARMING_BOT_ID', '')\n"
119 ],
120 "name": "get swarming bot id",
121 "stdout": "/path/to/tmp/",
122 "~followup_annotations": [
123 "@@@STEP_LOG_LINE@python.inline@import os@@@",
124 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_BOT_ID', '')@@@",
125 "@@@STEP_LOG_END@python.inline@@@"
126 ]
127 },
128 {
129 "cmd": [
130 "python",
131 "-u",
132 "import os\nprint os.environ.get('SWARMING_TASK_ID', '')\n"
133 ],
134 "name": "get swarming task id",
135 "stdout": "/path/to/tmp/",
136 "~followup_annotations": [
137 "@@@STEP_LOG_LINE@python.inline@import os@@@",
138 "@@@STEP_LOG_LINE@python.inline@print os.environ.get('SWARMING_TASK_ID', '')@@@",
139 "@@@STEP_LOG_END@python.inline@@@"
140 ]
141 },
142 {
143 "cmd": [
Eric Borenbd2e1f12018-04-17 11:28:46 +0000144 "[START_DIR]\\out\\Release_x64\\nanobench",
Ben Wagner38a56012017-04-28 17:13:32 -0400145 "-i",
146 "[START_DIR]\\skia\\resources",
147 "--skps",
148 "[START_DIR]\\skp",
149 "--images",
150 "[START_DIR]\\skimage\\nanobench",
151 "--svgs",
152 "[START_DIR]\\svg",
Ben Wagner38a56012017-04-28 17:13:32 -0400153 "--pre_log",
154 "--images",
155 "--gpuStatsDump",
156 "true",
157 "--scales",
158 "1.0",
159 "1.1",
Ben Wagner32fa5102017-08-10 21:25:55 -0400160 "--nocpu",
Ben Wagner38a56012017-04-28 17:13:32 -0400161 "--config",
162 "angle_d3d11_es2",
163 "angle_d3d11_es2_msaa8",
164 "--match",
Ben Wagner38a56012017-04-28 17:13:32 -0400165 "~inc0.gif",
166 "~inc1.gif",
167 "~incInterlaced.gif",
168 "~inc0.jpg",
169 "~incGray.jpg",
170 "~inc0.wbmp",
171 "~inc1.wbmp",
172 "~inc0.webp",
173 "~inc1.webp",
174 "~inc0.ico",
175 "~inc1.ico",
176 "~inc0.png",
177 "~inc1.png",
178 "~inc2.png",
179 "~inc12.png",
180 "~inc13.png",
181 "~inc14.png",
182 "~inc0.webp",
183 "~inc1.webp",
184 "--outResultsFile",
Eric Borenbd2e1f12018-04-17 11:28:46 +0000185 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Release-All-ANGLE\\data\\nanobench_abc123_1337000001.json",
Ben Wagner38a56012017-04-28 17:13:32 -0400186 "--properties",
187 "gitHash",
188 "abc123",
189 "swarming_bot_id",
Ben Wagner489530e2017-05-01 11:09:18 -0400190 "skia-bot-123",
Ben Wagner38a56012017-04-28 17:13:32 -0400191 "swarming_task_id",
Ben Wagner489530e2017-05-01 11:09:18 -0400192 "123456",
Ben Wagner38a56012017-04-28 17:13:32 -0400193 "--key",
194 "arch",
195 "x86_64",
196 "compiler",
Ben Wagnerb2fd61a2017-10-23 16:01:44 -0400197 "Clang",
Ben Wagner38a56012017-04-28 17:13:32 -0400198 "cpu_or_gpu",
199 "GPU",
200 "cpu_or_gpu_value",
201 "GTX960",
202 "extra_config",
203 "ANGLE",
204 "model",
205 "ShuttleC",
206 "os",
207 "Win10"
208 ],
209 "env": {
210 "BUILDTYPE": "Release_x64",
211 "CHROME_HEADLESS": "1",
recipe-rollere0f7e162017-05-31 16:13:27 -0700212 "PATH": "<PATH>;RECIPE_PACKAGE_REPO[depot_tools]",
Eric Borenbd2e1f12018-04-17 11:28:46 +0000213 "SKIA_OUT": "[START_DIR]\\out"
Ben Wagner38a56012017-04-28 17:13:32 -0400214 },
215 "name": "nanobench"
216 },
217 {
218 "cmd": [
219 "python",
220 "-u",
Robert Iannucci8cd50412017-07-07 14:36:58 -0700221 "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py",
222 "--json-output",
223 "/path/to/tmp/json",
224 "ensure-directory",
225 "--mode",
226 "0777",
Eric Borenbd2e1f12018-04-17 11:28:46 +0000227 "[CUSTOM_[SWARM_OUT_DIR]]\\perfdata\\Perf-Win10-Clang-ShuttleC-GPU-GTX960-x86_64-Release-All-ANGLE"
Ben Wagner38a56012017-04-28 17:13:32 -0400228 ],
Eric Boren3e2ffd72017-06-16 13:10:22 -0400229 "infra_step": true,
Robert Iannucci8cd50412017-07-07 14:36:58 -0700230 "name": "makedirs perf_dir"
Ben Wagner38a56012017-04-28 17:13:32 -0400231 },
232 {
233 "name": "$result",
234 "recipe_result": null,
235 "status_code": 0
236 }
237]