• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
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    "stdout": "/path/to/tmp/",
16    "~followup_annotations": [
17      "@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
18      "@@@STEP_LOG_END@glob@@@"
19    ]
20  },
21  {
22    "cmd": [
23      "gsutil",
24      "-m",
25      "cp",
26      "[START_DIR]/test/*.png",
27      "gs://skia-infra-gm-alt/dm-images-v1"
28    ],
29    "name": "upload .png images"
30  },
31  {
32    "cmd": [
33      "python",
34      "-u",
35      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
36      "--json-output",
37      "/path/to/tmp/json",
38      "glob",
39      "[START_DIR]/test",
40      "*.pdf"
41    ],
42    "infra_step": true,
43    "name": "find .pdf images",
44    "stdout": "/path/to/tmp/",
45    "~followup_annotations": [
46      "@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
47      "@@@STEP_LOG_END@glob@@@"
48    ]
49  },
50  {
51    "cmd": [
52      "gsutil",
53      "cp",
54      "-Z",
55      "[START_DIR]/test/dm.json",
56      "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"
57    ],
58    "name": "upload dm.json"
59  },
60  {
61    "cmd": [
62      "python",
63      "-u",
64      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
65      "--json-output",
66      "/path/to/tmp/json",
67      "listdir",
68      "[START_DIR]/test"
69    ],
70    "infra_step": true,
71    "name": "check for optional verbose.log file",
72    "stdout": "/path/to/tmp/",
73    "~followup_annotations": [
74      "@@@STEP_LOG_LINE@listdir@[START_DIR]/test/dm.json@@@",
75      "@@@STEP_LOG_LINE@listdir@[START_DIR]/test/verbose.log@@@",
76      "@@@STEP_LOG_END@listdir@@@"
77    ]
78  },
79  {
80    "cmd": [
81      "gsutil",
82      "cp",
83      "-Z",
84      "[START_DIR]/test/verbose.log",
85      "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"
86    ],
87    "name": "upload verbose.log"
88  },
89  {
90    "jsonResult": null,
91    "name": "$result"
92  }
93]