Debian Codegraph @

infra/bots/recipes/test_lottie_web.expected/lottie_web_trybot.json

raw
1 [
2 {
3 "cmd": [
4 "vpython3",
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 "0o777",
12 "[START_DIR]/[SWARM_OUT_DIR]"
13 ],
14 "infra_step": true,
15 "name": "mkdirs out_dir"
16 },
17 {
18 "cmd": [
19 "vpython3",
20 "-u",
21 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
22 "--json-output",
23 "/path/to/tmp/json",
24 "rmtree",
25 "/tmp/lottie_files"
26 ],
27 "infra_step": true,
28 "name": "remove previous lottie files"
29 },
30 {
31 "cmd": [
32 "vpython3",
33 "-u",
34 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
35 "--json-output",
36 "/path/to/tmp/json",
37 "copytree",
38 "[START_DIR]/lottie-samples",
39 "/tmp/lottie_files"
40 ],
41 "infra_step": true,
42 "name": "copy lottie files"
43 },
44 {
45 "cmd": [
46 "python3",
47 "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
48 "SWARMING_BOT_ID"
49 ],
50 "name": "get swarming bot id"
51 },
52 {
53 "cmd": [
54 "python3",
55 "RECIPE_MODULE[skia::vars]/resources/get_env_var.py",
56 "SWARMING_TASK_ID"
57 ],
58 "name": "get swarming task id"
59 },
60 {
61 "cmd": [],
62 "name": "Docker setup"
63 },
64 {
65 "cmd": [
66 "python3",
67 "RECIPE_MODULE[skia::docker]/resources/get_uid_gid.py"
68 ],
69 "name": "Docker setup.Get uid and gid",
70 "~followup_annotations": [
71 "@@@STEP_NEST_LEVEL@1@@@"
72 ]
73 },
74 {
75 "cmd": [
76 "vpython3",
77 "-u",
78 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
79 "--json-output",
80 "/path/to/tmp/json",
81 "ensure-directory",
82 "--mode",
83 "0o777",
84 "[START_DIR]/[SWARM_OUT_DIR]"
85 ],
86 "infra_step": true,
87 "name": "Docker setup.mkdirs out_dir",
88 "~followup_annotations": [
89 "@@@STEP_NEST_LEVEL@1@@@"
90 ]
91 },
92 {
93 "cmd": [
94 "chmod",
95 "777",
96 "[START_DIR]/[SWARM_OUT_DIR]"
97 ],
98 "infra_step": true,
99 "name": "Docker setup.chmod 777 [START_DIR]/[SWARM_OUT_DIR]",
100 "~followup_annotations": [
101 "@@@STEP_NEST_LEVEL@1@@@"
102 ]
103 },
104 {
105 "cmd": [
106 "chmod",
107 "755",
108 "[START_DIR]"
109 ],
110 "infra_step": true,
111 "name": "Docker setup.chmod 755 [START_DIR]",
112 "~followup_annotations": [
113 "@@@STEP_NEST_LEVEL@1@@@"
114 ]
115 },
116 {
117 "cmd": [
118 "chmod",
119 "0755",
120 "[START_DIR]/skia/infra/lottiecap/docker/lottiecap_gold.sh"
121 ],
122 "infra_step": true,
123 "name": "Docker setup.chmod 0755 [START_DIR]/skia/infra/lottiecap/docker/lottiecap_gold.sh",
124 "~followup_annotations": [
125 "@@@STEP_NEST_LEVEL@1@@@"
126 ]
127 },
128 {
129 "cmd": [
130 "chmod",
131 "-R",
132 "a+r",
133 "[START_DIR]/lottie/build/player"
134 ],
135 "infra_step": true,
136 "name": "Docker setup.chmod -R a+r [START_DIR]/lottie/build/player",
137 "~followup_annotations": [
138 "@@@STEP_NEST_LEVEL@1@@@"
139 ]
140 },
141 {
142 "cmd": [
143 "chmod",
144 "-R",
145 "a+r",
146 "/tmp/lottie_files"
147 ],
148 "infra_step": true,
149 "name": "Docker setup.chmod -R a+r /tmp/lottie_files",
150 "~followup_annotations": [
151 "@@@STEP_NEST_LEVEL@1@@@"
152 ]
153 },
154 {
155 "cmd": [
156 "docker",
157 "run",
158 "--shm-size=2gb",
159 "--rm",
160 "--user",
161 "13:17",
162 "--mount",
163 "type=bind,source=[START_DIR],target=/SRC",
164 "--mount",
165 "type=bind,source=[START_DIR]/[SWARM_OUT_DIR],target=/OUT",
166 "--mount",
167 "type=bind,source=[START_DIR]/lottie/build/player,target=/LOTTIE_BUILD",
168 "--mount",
169 "type=bind,source=/tmp/lottie_files,target=/LOTTIE_FILES",
170 "gcr.io/skia-public/gold-lottie-web-puppeteer:v2",
171 "/SRC/skia/infra/lottiecap/docker/lottiecap_gold.sh",
172 "--builder",
173 "Test-Debian10-none-GCE-CPU-AVX2-x86_64-Debug-All-LottieWeb",
174 "--git_hash",
175 "abc123",
176 "--buildbucket_build_id",
177 "",
178 "--bot_id",
179 "",
180 "--task_id",
181 "",
182 "--browser",
183 "Chrome",
184 "--config",
185 "Debug",
186 "--issue",
187 "1234",
188 "--patchset",
189 "7",
190 "--patch_storage",
191 "gerrit"
192 ],
193 "env": {
194 "CHROME_HEADLESS": "1",
195 "DOCKER_CONFIG": "/home/chrome-bot/.docker",
196 "PATH": "<PATH>:RECIPE_REPO[depot_tools]"
197 },
198 "name": "Generate LottieWeb Gold output with Docker"
199 },
200 {
201 "cmd": [
202 "vpython3",
203 "-u",
204 "RECIPE_MODULE[recipe_engine::file]/resources/fileutil.py",
205 "--json-output",
206 "/path/to/tmp/json",
207 "glob",
208 "[START_DIR]/[SWARM_OUT_DIR]",
209 "*.png"
210 ],
211 "infra_step": true,
212 "name": "find .png images",
213 "~followup_annotations": [
214 "@@@STEP_LOG_LINE@glob@[START_DIR]/[SWARM_OUT_DIR]/someimage.png@@@",
215 "@@@STEP_LOG_END@glob@@@"
216 ]
217 },
218 {
219 "cmd": [
220 "gsutil",
221 "-m",
222 "cp",
223 "[START_DIR]/[SWARM_OUT_DIR]/*.png",
224 "gs://skia-infra-gm/dm-images-v1"
225 ],
226 "name": "upload .png images"
227 },
228 {
229 "cmd": [
230 "gsutil",
231 "cp",
232 "-Z",
233 "[START_DIR]/[SWARM_OUT_DIR]/dm.json",
234 "gs://skia-infra-gm/trybot/dm-json-v1/2012/05/14/12/1234_7/Test-Debian10-none-GCE-CPU-AVX2-x86_64-Debug-All-LottieWeb/1337000001/dm.json"
235 ],
236 "name": "upload dm.json"
237 },
238 {
239 "name": "$result"
240 }
241 ]