| 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 |
"copy", |
| 10 |
"file.txt", |
| 11 |
"/path/to/tmp/" |
| 12 |
], |
| 13 |
"infra_step": true, |
| 14 |
"name": "read file.txt", |
| 15 |
"~followup_annotations": [ |
| 16 |
"@@@[email protected]@@@" |
| 17 |
] |
| 18 |
}, |
| 19 |
{ |
| 20 |
"cmd": [ |
| 21 |
"vpython3", |
| 22 |
"-u", |
| 23 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 24 |
"--json-output", |
| 25 |
"/path/to/tmp/json", |
| 26 |
"remove", |
| 27 |
"file.txt" |
| 28 |
], |
| 29 |
"infra_step": true, |
| 30 |
"name": "remove file.txt" |
| 31 |
}, |
| 32 |
{ |
| 33 |
"cmd": [ |
| 34 |
"vpython3", |
| 35 |
"-u", |
| 36 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 37 |
"--json-output", |
| 38 |
"/path/to/tmp/json", |
| 39 |
"rmtree", |
| 40 |
"results_dir" |
| 41 |
], |
| 42 |
"infra_step": true, |
| 43 |
"name": "rmtree results_dir" |
| 44 |
}, |
| 45 |
{ |
| 46 |
"cmd": [ |
| 47 |
"vpython3", |
| 48 |
"-u", |
| 49 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 50 |
"--json-output", |
| 51 |
"/path/to/tmp/json", |
| 52 |
"ensure-directory", |
| 53 |
"--mode", |
| 54 |
"0o777", |
| 55 |
"results_dir" |
| 56 |
], |
| 57 |
"infra_step": true, |
| 58 |
"name": "makedirs results_dir" |
| 59 |
}, |
| 60 |
{ |
| 61 |
"cmd": [ |
| 62 |
"vpython3", |
| 63 |
"-u", |
| 64 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 65 |
"--json-output", |
| 66 |
"/path/to/tmp/json", |
| 67 |
"rmtree", |
| 68 |
"device_results_dir" |
| 69 |
], |
| 70 |
"infra_step": true, |
| 71 |
"name": "rmtree device_results_dir" |
| 72 |
}, |
| 73 |
{ |
| 74 |
"cmd": [ |
| 75 |
"vpython3", |
| 76 |
"-u", |
| 77 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 78 |
"--json-output", |
| 79 |
"/path/to/tmp/json", |
| 80 |
"ensure-directory", |
| 81 |
"--mode", |
| 82 |
"0o777", |
| 83 |
"device_results_dir" |
| 84 |
], |
| 85 |
"infra_step": true, |
| 86 |
"name": "makedirs device_results_dir" |
| 87 |
}, |
| 88 |
{ |
| 89 |
"cmd": [ |
| 90 |
"vpython3", |
| 91 |
"-u", |
| 92 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 93 |
"--json-output", |
| 94 |
"/path/to/tmp/json", |
| 95 |
"copy", |
| 96 |
"[START_DIR]/skia/infra/bots/assets/skp/VERSION", |
| 97 |
"/path/to/tmp/" |
| 98 |
], |
| 99 |
"infra_step": true, |
| 100 |
"name": "Get skp VERSION", |
| 101 |
"~followup_annotations": [ |
| 102 |
"@@@STEP_LOG_LINE@VERSION@42@@@", |
| 103 |
"@@@STEP_LOG_END@VERSION@@@" |
| 104 |
] |
| 105 |
}, |
| 106 |
{ |
| 107 |
"cmd": [ |
| 108 |
"vpython3", |
| 109 |
"-u", |
| 110 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 111 |
"--json-output", |
| 112 |
"/path/to/tmp/json", |
| 113 |
"copy", |
| 114 |
"42", |
| 115 |
"[START_DIR]/tmp/SKP_VERSION" |
| 116 |
], |
| 117 |
"infra_step": true, |
| 118 |
"name": "write SKP_VERSION", |
| 119 |
"~followup_annotations": [ |
| 120 |
"@@@STEP_LOG_LINE@SKP_VERSION@42@@@", |
| 121 |
"@@@STEP_LOG_END@SKP_VERSION@@@" |
| 122 |
] |
| 123 |
}, |
| 124 |
{ |
| 125 |
"cmd": [ |
| 126 |
"vpython3", |
| 127 |
"-u", |
| 128 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 129 |
"--json-output", |
| 130 |
"/path/to/tmp/json", |
| 131 |
"copy", |
| 132 |
"[START_DIR]/skia/infra/bots/assets/skimage/VERSION", |
| 133 |
"/path/to/tmp/" |
| 134 |
], |
| 135 |
"infra_step": true, |
| 136 |
"name": "Get skimage VERSION", |
| 137 |
"~followup_annotations": [ |
| 138 |
"@@@STEP_LOG_LINE@VERSION@42@@@", |
| 139 |
"@@@STEP_LOG_END@VERSION@@@" |
| 140 |
] |
| 141 |
}, |
| 142 |
{ |
| 143 |
"cmd": [ |
| 144 |
"vpython3", |
| 145 |
"-u", |
| 146 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 147 |
"--json-output", |
| 148 |
"/path/to/tmp/json", |
| 149 |
"copy", |
| 150 |
"42", |
| 151 |
"[START_DIR]/tmp/SK_IMAGE_VERSION" |
| 152 |
], |
| 153 |
"infra_step": true, |
| 154 |
"name": "write SK_IMAGE_VERSION", |
| 155 |
"~followup_annotations": [ |
| 156 |
"@@@STEP_LOG_LINE@SK_IMAGE_VERSION@42@@@", |
| 157 |
"@@@STEP_LOG_END@SK_IMAGE_VERSION@@@" |
| 158 |
] |
| 159 |
}, |
| 160 |
{ |
| 161 |
"cmd": [ |
| 162 |
"vpython3", |
| 163 |
"-u", |
| 164 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 165 |
"--json-output", |
| 166 |
"/path/to/tmp/json", |
| 167 |
"copy", |
| 168 |
"[START_DIR]/skia/infra/bots/assets/svg/VERSION", |
| 169 |
"/path/to/tmp/" |
| 170 |
], |
| 171 |
"infra_step": true, |
| 172 |
"name": "Get svg VERSION", |
| 173 |
"~followup_annotations": [ |
| 174 |
"@@@STEP_LOG_LINE@VERSION@42@@@", |
| 175 |
"@@@STEP_LOG_END@VERSION@@@" |
| 176 |
] |
| 177 |
}, |
| 178 |
{ |
| 179 |
"cmd": [ |
| 180 |
"vpython3", |
| 181 |
"-u", |
| 182 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 183 |
"--json-output", |
| 184 |
"/path/to/tmp/json", |
| 185 |
"copy", |
| 186 |
"42", |
| 187 |
"[START_DIR]/tmp/SVG_VERSION" |
| 188 |
], |
| 189 |
"infra_step": true, |
| 190 |
"name": "write SVG_VERSION", |
| 191 |
"~followup_annotations": [ |
| 192 |
"@@@STEP_LOG_LINE@SVG_VERSION@42@@@", |
| 193 |
"@@@STEP_LOG_END@SVG_VERSION@@@" |
| 194 |
] |
| 195 |
}, |
| 196 |
{ |
| 197 |
"cmd": [ |
| 198 |
"[START_DIR]/build/dm", |
| 199 |
"--some-flag" |
| 200 |
], |
| 201 |
"env": { |
| 202 |
"ASAN_OPTIONS": "symbolize=1 detect_leaks=1 fast_unwind_on_malloc=0", |
| 203 |
"ASAN_SYMBOLIZER_PATH": "[START_DIR]/clang_linux/bin/llvm-symbolizer", |
| 204 |
"CHROME_HEADLESS": "1", |
| 205 |
"LD_LIBRARY_PATH": "[START_DIR]/mesa_intel_driver_linux:[START_DIR]/linux_vulkan_sdk/lib:[START_DIR]/clang_linux/lib/x86_64-unknown-linux-gnu", |
| 206 |
"LIBGL_DRIVERS_PATH": "[START_DIR]/mesa_intel_driver_linux", |
| 207 |
"LSAN_OPTIONS": "symbolize=1 print_suppressions=1 fast_unwind_on_malloc=0", |
| 208 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]:[START_DIR]/linux_vulkan_sdk/bin:[START_DIR]/clang_linux/bin", |
| 209 |
"UBSAN_OPTIONS": "symbolize=1 print_stacktrace=1", |
| 210 |
"VK_ICD_FILENAMES": "[START_DIR]/mesa_intel_driver_linux/intel_icd.x86_64.json", |
| 211 |
"VULKAN_SDK": "[START_DIR]/linux_vulkan_sdk" |
| 212 |
}, |
| 213 |
"name": "dm" |
| 214 |
}, |
| 215 |
{ |
| 216 |
"name": "$result" |
| 217 |
} |
| 218 |
] |