| 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/lottie-samples/VERSION", |
| 26 |
"/path/to/tmp/" |
| 27 |
], |
| 28 |
"infra_step": true, |
| 29 |
"name": "Get lottie-samples 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/LOTTIE_VERSION" |
| 45 |
], |
| 46 |
"infra_step": true, |
| 47 |
"name": "write LOTTIE_VERSION", |
| 48 |
"~followup_annotations": [ |
| 49 |
"@@@STEP_LOG_LINE@LOTTIE_VERSION@42@@@", |
| 50 |
"@@@STEP_LOG_END@LOTTIE_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 |
"rmtree", |
| 61 |
"[START_DIR]/test" |
| 62 |
], |
| 63 |
"infra_step": true, |
| 64 |
"name": "rmtree test" |
| 65 |
}, |
| 66 |
{ |
| 67 |
"cmd": [ |
| 68 |
"vpython3", |
| 69 |
"-u", |
| 70 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 71 |
"--json-output", |
| 72 |
"/path/to/tmp/json", |
| 73 |
"ensure-directory", |
| 74 |
"--mode", |
| 75 |
"0o777", |
| 76 |
"[START_DIR]/test" |
| 77 |
], |
| 78 |
"infra_step": true, |
| 79 |
"name": "makedirs test" |
| 80 |
}, |
| 81 |
{ |
| 82 |
"cmd": [ |
| 83 |
"python3", |
| 84 |
"RECIPE_MODULE[skia::gold_upload]/resources/get_uninteresting_hashes.py", |
| 85 |
"https://example.com/hashes.txt", |
| 86 |
"[START_DIR]/tmp/uninteresting_hashes.txt" |
| 87 |
], |
| 88 |
"env": { |
| 89 |
"CHROME_HEADLESS": "1", |
| 90 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 91 |
}, |
| 92 |
"infra_step": true, |
| 93 |
"name": "get uninteresting hashes" |
| 94 |
}, |
| 95 |
{ |
| 96 |
"cmd": [ |
| 97 |
"python3", |
| 98 |
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py", |
| 99 |
"SWARMING_BOT_ID" |
| 100 |
], |
| 101 |
"name": "get swarming bot id" |
| 102 |
}, |
| 103 |
{ |
| 104 |
"cmd": [ |
| 105 |
"python3", |
| 106 |
"RECIPE_MODULE[skia::vars]/resources/get_env_var.py", |
| 107 |
"SWARMING_TASK_ID" |
| 108 |
], |
| 109 |
"name": "get swarming task id" |
| 110 |
}, |
| 111 |
{ |
| 112 |
"cmd": [ |
| 113 |
"python3", |
| 114 |
"RECIPE_MODULE[skia::flavor]/resources/symbolize_stack_trace.py", |
| 115 |
"[START_DIR]", |
| 116 |
"[START_DIR]/build/dm", |
| 117 |
"--example", |
| 118 |
"--flags", |
| 119 |
"--properties", |
| 120 |
"bot", |
| 121 |
"skia-bot-123", |
| 122 |
"key1", |
| 123 |
"value1", |
| 124 |
"task", |
| 125 |
"123456", |
| 126 |
"--resourcePath", |
| 127 |
"[START_DIR]/skia/resources", |
| 128 |
"--lotties", |
| 129 |
"[START_DIR]/skia/resources/skottie", |
| 130 |
"[START_DIR]/lottie-samples", |
| 131 |
"--uninterestingHashesFile", |
| 132 |
"[START_DIR]/tmp/uninteresting_hashes.txt", |
| 133 |
"--writePath", |
| 134 |
"[START_DIR]/[SWARM_OUT_DIR]" |
| 135 |
], |
| 136 |
"cwd": "[START_DIR]/skia", |
| 137 |
"env": { |
| 138 |
"CHROME_HEADLESS": "1", |
| 139 |
"PATH": "<PATH>:RECIPE_REPO[depot_tools]" |
| 140 |
}, |
| 141 |
"name": "symbolized dm" |
| 142 |
}, |
| 143 |
{ |
| 144 |
"cmd": [ |
| 145 |
"vpython3", |
| 146 |
"-u", |
| 147 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 148 |
"--json-output", |
| 149 |
"/path/to/tmp/json", |
| 150 |
"glob", |
| 151 |
"[START_DIR]/[SWARM_OUT_DIR]", |
| 152 |
"*.png" |
| 153 |
], |
| 154 |
"infra_step": true, |
| 155 |
"name": "find .png images", |
| 156 |
"~followup_annotations": [ |
| 157 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/[SWARM_OUT_DIR]/someimage.png@@@", |
| 158 |
"@@@STEP_LOG_END@glob@@@" |
| 159 |
] |
| 160 |
}, |
| 161 |
{ |
| 162 |
"cmd": [ |
| 163 |
"gsutil", |
| 164 |
"-m", |
| 165 |
"cp", |
| 166 |
"[START_DIR]/[SWARM_OUT_DIR]/*.png", |
| 167 |
"gs://skia-infra-gm/dm-images-v1" |
| 168 |
], |
| 169 |
"name": "upload .png images" |
| 170 |
}, |
| 171 |
{ |
| 172 |
"cmd": [ |
| 173 |
"gsutil", |
| 174 |
"cp", |
| 175 |
"-Z", |
| 176 |
"[START_DIR]/[SWARM_OUT_DIR]/dm.json", |
| 177 |
"gs://skia-infra-gm/trybot/dm-json-v1/2012/05/14/12/1234_7/Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Release-All-Lottie/1337000001/dm.json" |
| 178 |
], |
| 179 |
"name": "upload dm.json" |
| 180 |
}, |
| 181 |
{ |
| 182 |
"name": "$result" |
| 183 |
} |
| 184 |
] |