| [ |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "file.txt", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "read file.txt" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "remove", |
| "file.txt" |
| ], |
| "infra_step": true, |
| "name": "remove file.txt" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "results_dir" |
| ], |
| "infra_step": true, |
| "name": "rmtree results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "results_dir" |
| ], |
| "infra_step": true, |
| "name": "makedirs results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "rmtree", |
| "device_results_dir" |
| ], |
| "infra_step": true, |
| "name": "rmtree device_results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "device_results_dir" |
| ], |
| "infra_step": true, |
| "name": "makedirs device_results_dir" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]\\skia\\infra\\bots\\assets\\skp\\VERSION", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "Get skp VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "42", |
| "[START_DIR]\\tmp\\SKP_VERSION" |
| ], |
| "infra_step": true, |
| "name": "write SKP_VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]\\skia\\infra\\bots\\assets\\skimage\\VERSION", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "Get skimage VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "42", |
| "[START_DIR]\\tmp\\SK_IMAGE_VERSION" |
| ], |
| "infra_step": true, |
| "name": "write SK_IMAGE_VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "[START_DIR]\\skia\\infra\\bots\\assets\\svg\\VERSION", |
| "/path/to/tmp/" |
| ], |
| "infra_step": true, |
| "name": "Get svg VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "copy", |
| "42", |
| "[START_DIR]\\tmp\\SVG_VERSION" |
| ], |
| "infra_step": true, |
| "name": "write SVG_VERSION" |
| }, |
| { |
| "cmd": [ |
| "python", |
| "-u", |
| "RECIPE_MODULE[recipe_engine::file]\\resources\\fileutil.py", |
| "--json-output", |
| "/path/to/tmp/json", |
| "ensure-directory", |
| "--mode", |
| "0777", |
| "[START_DIR]\\[SWARM_OUT_DIR]\\dumps" |
| ], |
| "infra_step": true, |
| "name": "makedirs dumps" |
| }, |
| { |
| "cmd": [ |
| "[START_DIR]\\procdump_win\\procdump64.exe", |
| "-accepteula", |
| "-mp", |
| "-e", |
| "1", |
| "-x", |
| "[START_DIR]\\[SWARM_OUT_DIR]\\dumps", |
| "[START_DIR]\\build\\dm", |
| "--some-flag" |
| ], |
| "env": { |
| "CHROME_HEADLESS": "1", |
| "PATH": "<PATH>;RECIPE_REPO[depot_tools]" |
| }, |
| "name": "dm" |
| }, |
| { |
| "jsonResult": null, |
| "name": "$result" |
| } |
| ] |