• 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      "ensure-directory",
10      "--mode",
11      "0777",
12      "[START_DIR]/tmp_upload"
13    ],
14    "infra_step": true,
15    "name": "makedirs tmp dir"
16  },
17  {
18    "cmd": [
19      "python",
20      "-u",
21      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22      "--json-output",
23      "/path/to/tmp/json",
24      "copy",
25      "[START_DIR]/dm/dm.json",
26      "[START_DIR]/tmp_upload"
27    ],
28    "infra_step": true,
29    "name": "copy dm.json"
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      "copy",
39      "[START_DIR]/dm/verbose.log",
40      "[START_DIR]/tmp_upload"
41    ],
42    "infra_step": true,
43    "name": "copy verbose.log"
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      "remove",
53      "[START_DIR]/dm/dm.json"
54    ],
55    "infra_step": true,
56    "name": "rm old dm.json"
57  },
58  {
59    "cmd": [
60      "python",
61      "-u",
62      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
63      "--json-output",
64      "/path/to/tmp/json",
65      "remove",
66      "[START_DIR]/dm/verbose.log"
67    ],
68    "infra_step": true,
69    "name": "rm old verbose.log"
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      "glob",
79      "[START_DIR]/dm",
80      "*.png"
81    ],
82    "infra_step": true,
83    "name": "find images",
84    "stdout": "/path/to/tmp/",
85    "~followup_annotations": [
86      "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
87      "@@@STEP_LOG_END@glob@@@"
88    ]
89  },
90  {
91    "cmd": [
92      "gsutil",
93      "cp",
94      "[START_DIR]/dm/*.png",
95      "gs://skia-infra-gm/dm-images-v1"
96    ],
97    "name": "upload images"
98  },
99  {
100    "cmd": [
101      "python",
102      "-u",
103      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
104      "--json-output",
105      "/path/to/tmp/json",
106      "glob",
107      "[START_DIR]/dm",
108      "*.pdf"
109    ],
110    "infra_step": true,
111    "name": "find images (2)",
112    "stdout": "/path/to/tmp/",
113    "~followup_annotations": [
114      "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
115      "@@@STEP_LOG_END@glob@@@"
116    ]
117  },
118  {
119    "cmd": [
120      "gsutil",
121      "cp",
122      "-z",
123      "json,log",
124      "[START_DIR]/tmp_upload/*",
125      "gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001"
126    ],
127    "name": "upload JSON and logs"
128  },
129  {
130    "name": "$result",
131    "recipe_result": null,
132    "status_code": 0
133  }
134]