• 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/dm-images-v1"
28    ],
29    "name": "upload .png images",
30    "~followup_annotations": [
31      "step returned non-zero exit code: 1",
32      "@@@STEP_FAILURE@@@"
33    ]
34  },
35  {
36    "cmd": [
37      "gsutil",
38      "-m",
39      "cp",
40      "[START_DIR]/test/*.png",
41      "gs://skia-infra-gm/dm-images-v1"
42    ],
43    "name": "upload .png images (attempt 2)"
44  },
45  {
46    "cmd": [
47      "python",
48      "-u",
49      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
50      "--json-output",
51      "/path/to/tmp/json",
52      "glob",
53      "[START_DIR]/test",
54      "*.pdf"
55    ],
56    "infra_step": true,
57    "name": "find .pdf images",
58    "stdout": "/path/to/tmp/",
59    "~followup_annotations": [
60      "@@@STEP_LOG_LINE@glob@[START_DIR]/test/someimage.png@@@",
61      "@@@STEP_LOG_END@glob@@@"
62    ]
63  },
64  {
65    "cmd": [
66      "gsutil",
67      "cp",
68      "-Z",
69      "[START_DIR]/test/dm.json",
70      "gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001/dm.json"
71    ],
72    "name": "upload dm.json"
73  },
74  {
75    "cmd": [
76      "python",
77      "-u",
78      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
79      "--json-output",
80      "/path/to/tmp/json",
81      "listdir",
82      "[START_DIR]/test"
83    ],
84    "infra_step": true,
85    "name": "check for optional verbose.log file",
86    "stdout": "/path/to/tmp/",
87    "~followup_annotations": [
88      "@@@STEP_LOG_LINE@listdir@[START_DIR]/test/dm.json@@@",
89      "@@@STEP_LOG_LINE@listdir@[START_DIR]/test/verbose.log@@@",
90      "@@@STEP_LOG_END@listdir@@@"
91    ]
92  },
93  {
94    "cmd": [
95      "gsutil",
96      "cp",
97      "-Z",
98      "[START_DIR]/test/verbose.log",
99      "gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Debian9-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001/verbose.log"
100    ],
101    "name": "upload verbose.log"
102  },
103  {
104    "jsonResult": null,
105    "name": "$result"
106  }
107]