a47836e01a
This is an automated CL created by the recipe roller. This CL rolls recipe changes from upstream projects (e.g. depot_tools) into downstream projects (e.g. tools/build). Please review the expectation changes, and LGTM+CQ. More info is at https://goo.gl/zkKdpD. Use https://goo.gl/noib3a to file a bug. recipe_engine: https://crrev.com/f362dc019e5cedc0e5ce334039a16afcbc95dcb4 Reland "[fileutil] Add support for recursive glob" (atyfto@google.com) R=kjlubick@google.com Recipe-Tryjob-Bypass-Reason: Autoroller Bugdroid-Send-Email: False Change-Id: I3c1a79eb1f1fc8a23bf02ac25f17b8673d7dd199 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/240416 Commit-Queue: Eric Boren <borenet@google.com> Reviewed-by: Eric Boren <borenet@google.com>
102 lines
2.2 KiB
JSON
102 lines
2.2 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"vpython",
|
|
"-u",
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
"--json-output",
|
|
"/path/to/tmp/json",
|
|
"glob",
|
|
"[START_DIR]/test",
|
|
"*.png"
|
|
],
|
|
"infra_step": true,
|
|
"name": "find .png images",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
|
|
"@@@STEP_LOG_END@glob@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"gsutil",
|
|
"-m",
|
|
"cp",
|
|
"[START_DIR]/test/*.png",
|
|
"gs://skia-infra-gm/dm-images-v1"
|
|
],
|
|
"name": "upload .png images",
|
|
"~followup_annotations": [
|
|
"@@@STEP_FAILURE@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"gsutil",
|
|
"-m",
|
|
"cp",
|
|
"[START_DIR]/test/*.png",
|
|
"gs://skia-infra-gm/dm-images-v1"
|
|
],
|
|
"name": "upload .png images (attempt 2)"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython",
|
|
"-u",
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
"--json-output",
|
|
"/path/to/tmp/json",
|
|
"glob",
|
|
"[START_DIR]/test",
|
|
"*.pdf"
|
|
],
|
|
"infra_step": true,
|
|
"name": "find .pdf images",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
|
|
"@@@STEP_LOG_END@glob@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"gsutil",
|
|
"cp",
|
|
"-Z",
|
|
"[START_DIR]/test/dm.json",
|
|
"gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001/dm.json"
|
|
],
|
|
"name": "upload dm.json"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"vpython",
|
|
"-u",
|
|
"RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
|
|
"--json-output",
|
|
"/path/to/tmp/json",
|
|
"listdir",
|
|
"[START_DIR]/test"
|
|
],
|
|
"infra_step": true,
|
|
"name": "check for optional verbose.log file",
|
|
"~followup_annotations": [
|
|
"@@@STEP_LOG_LINE@listdir@[START_DIR]/test/dm.json@@@",
|
|
"@@@STEP_LOG_LINE@listdir@[START_DIR]/test/verbose.log@@@",
|
|
"@@@STEP_LOG_END@listdir@@@"
|
|
]
|
|
},
|
|
{
|
|
"cmd": [
|
|
"gsutil",
|
|
"cp",
|
|
"-Z",
|
|
"[START_DIR]/test/verbose.log",
|
|
"gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001/verbose.log"
|
|
],
|
|
"name": "upload verbose.log"
|
|
},
|
|
{
|
|
"name": "$result"
|
|
}
|
|
] |