| 1 |
[ |
| 2 |
{ |
| 3 |
"cmd": [ |
| 4 |
"vpython3", |
| 5 |
"-u", |
| 6 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 7 |
"--json-output", |
| 8 |
"/path/to/tmp/json", |
| 9 |
"ensure-directory", |
| 10 |
"--mode", |
| 11 |
"0o777", |
| 12 |
"[START_DIR]\\tmp" |
| 13 |
], |
| 14 |
"infra_step": true, |
| 15 |
"name": "makedirs tmp_dir" |
| 16 |
}, |
| 17 |
{ |
| 18 |
"cmd": [ |
| 19 |
"vpython3", |
| 20 |
"-u", |
| 21 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 22 |
"--json-output", |
| 23 |
"/path/to/tmp/json", |
| 24 |
"copy", |
| 25 |
"[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION", |
| 26 |
"/path/to/tmp/" |
| 27 |
], |
| 28 |
"infra_step": true, |
| 29 |
"name": "Get skp VERSION", |
| 30 |
"~followup_annotations": [ |
| 31 |
"@@@STEP_LOG_LINE@VERSION@42@@@", |
| 32 |
"@@@STEP_LOG_END@VERSION@@@" |
| 33 |
] |
| 34 |
}, |
| 35 |
{ |
| 36 |
"cmd": [ |
| 37 |
"vpython3", |
| 38 |
"-u", |
| 39 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 40 |
"--json-output", |
| 41 |
"/path/to/tmp/json", |
| 42 |
"copy", |
| 43 |
"42", |
| 44 |
"[START_DIR]\\tmp\\SKP_VERSION" |
| 45 |
], |
| 46 |
"infra_step": true, |
| 47 |
"name": "write SKP_VERSION", |
| 48 |
"~followup_annotations": [ |
| 49 |
"@@@STEP_LOG_LINE@SKP_VERSION@42@@@", |
| 50 |
"@@@STEP_LOG_END@SKP_VERSION@@@" |
| 51 |
] |
| 52 |
}, |
| 53 |
{ |
| 54 |
"cmd": [ |
| 55 |
"vpython3", |
| 56 |
"-u", |
| 57 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 58 |
"--json-output", |
| 59 |
"/path/to/tmp/json", |
| 60 |
"copy", |
| 61 |
"[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION", |
| 62 |
"/path/to/tmp/" |
| 63 |
], |
| 64 |
"infra_step": true, |
| 65 |
"name": "Get svg VERSION", |
| 66 |
"~followup_annotations": [ |
| 67 |
"@@@STEP_LOG_LINE@VERSION@42@@@", |
| 68 |
"@@@STEP_LOG_END@VERSION@@@" |
| 69 |
] |
| 70 |
}, |
| 71 |
{ |
| 72 |
"cmd": [ |
| 73 |
"vpython3", |
| 74 |
"-u", |
| 75 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 76 |
"--json-output", |
| 77 |
"/path/to/tmp/json", |
| 78 |
"copy", |
| 79 |
"42", |
| 80 |
"[START_DIR]\\tmp\\SVG_VERSION" |
| 81 |
], |
| 82 |
"infra_step": true, |
| 83 |
"name": "write SVG_VERSION", |
| 84 |
"~followup_annotations": [ |
| 85 |
"@@@STEP_LOG_LINE@SVG_VERSION@42@@@", |
| 86 |
"@@@STEP_LOG_END@SVG_VERSION@@@" |
| 87 |
] |
| 88 |
}, |
| 89 |
{ |
| 90 |
"cmd": [ |
| 91 |
"vpython3", |
| 92 |
"-u", |
| 93 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 94 |
"--json-output", |
| 95 |
"/path/to/tmp/json", |
| 96 |
"rmtree", |
| 97 |
"[START_DIR]\\[SWARM_OUT_DIR]" |
| 98 |
], |
| 99 |
"infra_step": true, |
| 100 |
"name": "rmtree [SWARM_OUT_DIR]" |
| 101 |
}, |
| 102 |
{ |
| 103 |
"cmd": [ |
| 104 |
"vpython3", |
| 105 |
"-u", |
| 106 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 107 |
"--json-output", |
| 108 |
"/path/to/tmp/json", |
| 109 |
"ensure-directory", |
| 110 |
"--mode", |
| 111 |
"0o777", |
| 112 |
"[START_DIR]\\[SWARM_OUT_DIR]" |
| 113 |
], |
| 114 |
"infra_step": true, |
| 115 |
"name": "makedirs [SWARM_OUT_DIR]" |
| 116 |
}, |
| 117 |
{ |
| 118 |
"cmd": [ |
| 119 |
"python3", |
| 120 |
"RECIPE_MODULE[skia::vars]\\resources\\get_env_var.py", |
| 121 |
"SWARMING_BOT_ID" |
| 122 |
], |
| 123 |
"name": "get swarming bot id" |
| 124 |
}, |
| 125 |
{ |
| 126 |
"cmd": [ |
| 127 |
"python3", |
| 128 |
"RECIPE_MODULE[skia::vars]\\resources\\get_env_var.py", |
| 129 |
"SWARMING_TASK_ID" |
| 130 |
], |
| 131 |
"name": "get swarming task id" |
| 132 |
}, |
| 133 |
{ |
| 134 |
"cmd": [ |
| 135 |
"powershell", |
| 136 |
"-ExecutionPolicy", |
| 137 |
"Unrestricted", |
| 138 |
"-File", |
| 139 |
"RECIPE_MODULE[skia::flavor]\\resources\\win_run_and_check_log.ps1", |
| 140 |
"[START_DIR]\\build\\nanobench", |
| 141 |
"--example", |
| 142 |
"--flags", |
| 143 |
"--properties", |
| 144 |
"bot", |
| 145 |
"skia-bot-123", |
| 146 |
"key1", |
| 147 |
"value1", |
| 148 |
"task", |
| 149 |
"123456", |
| 150 |
"-i", |
| 151 |
"[START_DIR]\\skia\\resources", |
| 152 |
"--skps", |
| 153 |
"[START_DIR]\\skp", |
| 154 |
"--svgs", |
| 155 |
"[START_DIR]\\svg", |
| 156 |
"--outResultsFile", |
| 157 |
"[START_DIR]\\[SWARM_OUT_DIR]\\nanobench_abc123_1337000001.json" |
| 158 |
], |
| 159 |
"env": { |
| 160 |
"CHROME_HEADLESS": "1", |
| 161 |
"PATH": "<PATH>;RECIPE_REPO[depot_tools]" |
| 162 |
}, |
| 163 |
"name": "nanobench" |
| 164 |
}, |
| 165 |
{ |
| 166 |
"cmd": [ |
| 167 |
"vpython3", |
| 168 |
"-u", |
| 169 |
"RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| 170 |
"--json-output", |
| 171 |
"/path/to/tmp/json", |
| 172 |
"ensure-directory", |
| 173 |
"--mode", |
| 174 |
"0o777", |
| 175 |
"[START_DIR]\\[SWARM_OUT_DIR]" |
| 176 |
], |
| 177 |
"infra_step": true, |
| 178 |
"name": "makedirs perf_dir" |
| 179 |
}, |
| 180 |
{ |
| 181 |
"name": "$result" |
| 182 |
} |
| 183 |
] |