| 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 |
"glob", |
| 10 |
"[START_DIR]/test", |
| 11 |
"*.png" |
| 12 |
], |
| 13 |
"infra_step": true, |
| 14 |
"name": "find .png images", |
| 15 |
"~followup_annotations": [ |
| 16 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@", |
| 17 |
"@@@STEP_LOG_END@glob@@@" |
| 18 |
] |
| 19 |
}, |
| 20 |
{ |
| 21 |
"cmd": [ |
| 22 |
"gsutil", |
| 23 |
"-m", |
| 24 |
"cp", |
| 25 |
"[START_DIR]/test/*.png", |
| 26 |
"gs://skia-infra-gm-alt/dm-images-v1" |
| 27 |
], |
| 28 |
"name": "upload .png images" |
| 29 |
}, |
| 30 |
{ |
| 31 |
"cmd": [ |
| 32 |
"vpython3", |
| 33 |
"-u", |
| 34 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 35 |
"--json-output", |
| 36 |
"/path/to/tmp/json", |
| 37 |
"glob", |
| 38 |
"[START_DIR]/test", |
| 39 |
"*.pdf" |
| 40 |
], |
| 41 |
"infra_step": true, |
| 42 |
"name": "find .pdf images", |
| 43 |
"~followup_annotations": [ |
| 44 |
"@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@", |
| 45 |
"@@@STEP_LOG_END@glob@@@" |
| 46 |
] |
| 47 |
}, |
| 48 |
{ |
| 49 |
"cmd": [ |
| 50 |
"gsutil", |
| 51 |
"cp", |
| 52 |
"-Z", |
| 53 |
"[START_DIR]/test/dm.json", |
| 54 |
"gs://skia-infra-gm-alt/dm-json-v1/2012/05/14/12/abc123/Upload-Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Debug-All/1337000001/dm.json" |
| 55 |
], |
| 56 |
"name": "upload dm.json" |
| 57 |
}, |
| 58 |
{ |
| 59 |
"cmd": [ |
| 60 |
"vpython3", |
| 61 |
"-u", |
| 62 |
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py", |
| 63 |
"--json-output", |
| 64 |
"/path/to/tmp/json", |
| 65 |
"listdir", |
| 66 |
"[START_DIR]/test" |
| 67 |
], |
| 68 |
"infra_step": true, |
| 69 |
"name": "check for optional verbose.log file", |
| 70 |
"~followup_annotations": [ |
| 71 |
"@@@STEP_LOG_LINE@listdir@[START_DIR]/test/dm.json@@@", |
| 72 |
"@@@STEP_LOG_LINE@listdir@[START_DIR]/test/verbose.log@@@", |
| 73 |
"@@@STEP_LOG_END@listdir@@@" |
| 74 |
] |
| 75 |
}, |
| 76 |
{ |
| 77 |
"cmd": [ |
| 78 |
"gsutil", |
| 79 |
"cp", |
| 80 |
"-Z", |
| 81 |
"[START_DIR]/test/verbose.log", |
| 82 |
"gs://skia-infra-gm-alt/dm-json-v1/2012/05/14/12/abc123/Upload-Test-Debian10-Clang-GCE-CPU-AVX2-x86_64-Debug-All/1337000001/verbose.log" |
| 83 |
], |
| 84 |
"name": "upload verbose.log" |
| 85 |
}, |
| 86 |
{ |
| 87 |
"name": "$result" |
| 88 |
} |
| 89 |
] |