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