2017-09-15 13:56:24 +00:00
|
|
|
[
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
2018-08-20 15:28:56 +00:00
|
|
|
"glob",
|
|
|
|
"[START_DIR]/test",
|
|
|
|
"*.png"
|
2017-09-15 13:56:24 +00:00
|
|
|
],
|
|
|
|
"infra_step": true,
|
2018-08-20 15:28:56 +00:00
|
|
|
"name": "find .png images",
|
2018-08-16 12:59:41 +00:00
|
|
|
"stdout": "/path/to/tmp/",
|
|
|
|
"~followup_annotations": [
|
2018-08-20 15:28:56 +00:00
|
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
|
|
|
|
"@@@STEP_LOG_END@glob@@@"
|
2018-08-16 12:59:41 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
2018-08-20 15:28:56 +00:00
|
|
|
"gsutil",
|
|
|
|
"-m",
|
|
|
|
"cp",
|
|
|
|
"[START_DIR]/test/*.png",
|
|
|
|
"gs://skia-infra-gm-alt/dm-images-v1"
|
2017-09-15 13:56:24 +00:00
|
|
|
],
|
2018-08-20 15:28:56 +00:00
|
|
|
"name": "upload .png images"
|
2017-09-15 13:56:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
|
|
|
"glob",
|
2018-06-20 17:23:16 +00:00
|
|
|
"[START_DIR]/test",
|
2018-08-20 15:28:56 +00:00
|
|
|
"*.pdf"
|
2017-09-15 13:56:24 +00:00
|
|
|
],
|
|
|
|
"infra_step": true,
|
2018-08-20 15:28:56 +00:00
|
|
|
"name": "find .pdf images",
|
2017-09-15 13:56:24 +00:00
|
|
|
"stdout": "/path/to/tmp/",
|
|
|
|
"~followup_annotations": [
|
2018-06-20 17:23:16 +00:00
|
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
|
2017-09-15 13:56:24 +00:00
|
|
|
"@@@STEP_LOG_END@glob@@@"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
2018-08-20 15:28:56 +00:00
|
|
|
"-Z",
|
|
|
|
"[START_DIR]/test/dm.json",
|
|
|
|
"gs://skia-infra-gm-alt/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001/dm.json"
|
2017-09-15 13:56:24 +00:00
|
|
|
],
|
2018-08-20 15:28:56 +00:00
|
|
|
"name": "upload dm.json"
|
2017-09-15 13:56:24 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"python",
|
|
|
|
"-u",
|
|
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
|
|
"--json-output",
|
|
|
|
"/path/to/tmp/json",
|
2018-08-20 15:28:56 +00:00
|
|
|
"listdir",
|
|
|
|
"[START_DIR]/test"
|
2017-09-15 13:56:24 +00:00
|
|
|
],
|
|
|
|
"infra_step": true,
|
2018-08-20 15:28:56 +00:00
|
|
|
"name": "check for optional verbose.log file",
|
2017-09-15 13:56:24 +00:00
|
|
|
"stdout": "/path/to/tmp/",
|
|
|
|
"~followup_annotations": [
|
2018-08-20 15:28:56 +00:00
|
|
|
"@@@STEP_LOG_LINE@listdir@[START_DIR]/test/dm.json@@@",
|
|
|
|
"@@@STEP_LOG_LINE@listdir@[START_DIR]/test/verbose.log@@@",
|
|
|
|
"@@@STEP_LOG_END@listdir@@@"
|
2017-09-15 13:56:24 +00:00
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"cmd": [
|
|
|
|
"gsutil",
|
|
|
|
"cp",
|
2018-08-20 15:28:56 +00:00
|
|
|
"-Z",
|
|
|
|
"[START_DIR]/test/verbose.log",
|
|
|
|
"gs://skia-infra-gm-alt/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001/verbose.log"
|
2017-09-15 13:56:24 +00:00
|
|
|
],
|
2018-08-20 15:28:56 +00:00
|
|
|
"name": "upload verbose.log"
|
2017-09-15 13:56:24 +00:00
|
|
|
},
|
|
|
|
{
|
2018-10-30 22:22:37 +00:00
|
|
|
"jsonResult": null,
|
|
|
|
"name": "$result"
|
2017-09-15 13:56:24 +00:00
|
|
|
}
|
|
|
|
]
|