• 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    "~followup_annotations": [
99      "step returned non-zero exit code: 1",
100      "@@@STEP_FAILURE@@@"
101    ]
102  },
103  {
104    "cmd": [
105      "gsutil",
106      "cp",
107      "[START_DIR]/dm/*.png",
108      "gs://skia-infra-gm/dm-images-v1"
109    ],
110    "name": "upload images (attempt 2)"
111  },
112  {
113    "cmd": [
114      "python",
115      "-u",
116      "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
117      "--json-output",
118      "/path/to/tmp/json",
119      "glob",
120      "[START_DIR]/dm",
121      "*.pdf"
122    ],
123    "infra_step": true,
124    "name": "find images (2)",
125    "stdout": "/path/to/tmp/",
126    "~followup_annotations": [
127      "@@@STEP_LOG_LINE@glob@[START_DIR]/dm/someimage.png@@@",
128      "@@@STEP_LOG_END@glob@@@"
129    ]
130  },
131  {
132    "cmd": [
133      "gsutil",
134      "cp",
135      "-z",
136      "json,log",
137      "[START_DIR]/tmp_upload/*",
138      "gs://skia-infra-gm/dm-json-v1/2012/05/14/12/abc123/Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug/1337000001"
139    ],
140    "name": "upload JSON and logs"
141  },
142  {
143    "name": "$result",
144    "recipe_result": null,
145    "status_code": 0
146  }
147]