• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1[
2  {
3    "cmd": [
4      "python",
5      "-u",
6      "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py",
7      "--path",
8      "[START_DIR]/swarming.client",
9      "--url",
10      "https://chromium.googlesource.com/external/swarming.client.git"
11    ],
12    "name": "git setup (swarming_client)"
13  },
14  {
15    "cmd": [
16      "git",
17      "retry",
18      "fetch",
19      "origin",
20      "master"
21    ],
22    "cwd": "[START_DIR]/swarming.client",
23    "env": {
24      "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
25    },
26    "infra_step": true,
27    "name": "git fetch (swarming_client)"
28  },
29  {
30    "cmd": [
31      "git",
32      "checkout",
33      "-f",
34      "FETCH_HEAD"
35    ],
36    "cwd": "[START_DIR]/swarming.client",
37    "infra_step": true,
38    "name": "git checkout (swarming_client)"
39  },
40  {
41    "cmd": [
42      "git",
43      "rev-parse",
44      "HEAD"
45    ],
46    "cwd": "[START_DIR]/swarming.client",
47    "infra_step": true,
48    "name": "read revision",
49    "stdout": "/path/to/tmp/",
50    "~followup_annotations": [
51      "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
52    ]
53  },
54  {
55    "cmd": [
56      "git",
57      "clean",
58      "-f",
59      "-d",
60      "-x"
61    ],
62    "cwd": "[START_DIR]/swarming.client",
63    "infra_step": true,
64    "name": "git clean (swarming_client)"
65  },
66  {
67    "cmd": [
68      "git",
69      "submodule",
70      "sync"
71    ],
72    "cwd": "[START_DIR]/swarming.client",
73    "infra_step": true,
74    "name": "submodule sync (swarming_client)"
75  },
76  {
77    "cmd": [
78      "git",
79      "submodule",
80      "update",
81      "--init",
82      "--recursive"
83    ],
84    "cwd": "[START_DIR]/swarming.client",
85    "infra_step": true,
86    "name": "submodule update (swarming_client)"
87  },
88  {
89    "cmd": [
90      "cat"
91    ],
92    "name": "read test spec",
93    "stdout": "/path/to/tmp/json",
94    "~followup_annotations": [
95      "@@@STEP_LOG_LINE@json.output@[@@@",
96      "@@@STEP_LOG_LINE@json.output@  \"test1_exparchive\", @@@",
97      "@@@STEP_LOG_LINE@json.output@  \"test2_exparchive\"@@@",
98      "@@@STEP_LOG_LINE@json.output@]@@@",
99      "@@@STEP_LOG_END@json.output@@@"
100    ]
101  },
102  {
103    "cmd": [
104      "python",
105      "-u",
106      "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
107      "--build-dir",
108      "RECIPE_PACKAGE_REPO[skia]",
109      "--output-json",
110      "/path/to/tmp/json"
111    ],
112    "name": "find isolated tests",
113    "~followup_annotations": [
114      "@@@STEP_LOG_LINE@json.output@{@@@",
115      "@@@STEP_LOG_LINE@json.output@  \"test1_exparchive\": \"[dummy hash for test1_exparchive]\", @@@",
116      "@@@STEP_LOG_LINE@json.output@  \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"@@@",
117      "@@@STEP_LOG_LINE@json.output@}@@@",
118      "@@@STEP_LOG_END@json.output@@@",
119      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1_exparchive\": \"[dummy hash for test1_exparchive]\", \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"}@@@"
120    ]
121  },
122  {
123    "cmd": [
124      "python",
125      "-u",
126      "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
127      "[START_DIR]/swarming.client",
128      "exparchive",
129      "--dump-json",
130      "/path/to/tmp/json",
131      "--isolate-server",
132      "https://isolateserver-dev.appspot.com",
133      "--eventlog-endpoint",
134      "prod",
135      "--isolate",
136      "RECIPE_PACKAGE_REPO[skia]/test1_exparchive.isolate",
137      "--isolated",
138      "RECIPE_PACKAGE_REPO[skia]/test1_exparchive.isolated"
139    ],
140    "name": "isolate test1_exparchive",
141    "~followup_annotations": [
142      "@@@STEP_LOG_LINE@json.output@{@@@",
143      "@@@STEP_LOG_LINE@json.output@  \"test1_exparchive\": \"[dummy hash for test1_exparchive]\"@@@",
144      "@@@STEP_LOG_LINE@json.output@}@@@",
145      "@@@STEP_LOG_END@json.output@@@"
146    ]
147  },
148  {
149    "cmd": [
150      "python",
151      "-u",
152      "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
153      "[START_DIR]/swarming.client",
154      "exparchive",
155      "--dump-json",
156      "/path/to/tmp/json",
157      "--isolate-server",
158      "https://isolateserver-dev.appspot.com",
159      "--eventlog-endpoint",
160      "prod",
161      "--isolate",
162      "RECIPE_PACKAGE_REPO[skia]/test2_exparchive.isolate",
163      "--isolated",
164      "RECIPE_PACKAGE_REPO[skia]/test2_exparchive.isolated"
165    ],
166    "name": "isolate test2_exparchive",
167    "~followup_annotations": [
168      "@@@STEP_LOG_LINE@json.output@{@@@",
169      "@@@STEP_LOG_LINE@json.output@  \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"@@@",
170      "@@@STEP_LOG_LINE@json.output@}@@@",
171      "@@@STEP_LOG_END@json.output@@@",
172      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1_exparchive\": \"[dummy hash for test1_exparchive]\", \"test2_exparchive\": \"[dummy hash for test2_exparchive]\"}@@@"
173    ]
174  },
175  {
176    "name": "$result",
177    "recipe_result": null,
178    "status_code": 0
179  }
180]