• 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\", @@@",
97      "@@@STEP_LOG_LINE@json.output@  \"test2\", @@@",
98      "@@@STEP_LOG_LINE@json.output@  \"test_exparchive\"@@@",
99      "@@@STEP_LOG_LINE@json.output@]@@@",
100      "@@@STEP_LOG_END@json.output@@@"
101    ]
102  },
103  {
104    "cmd": [
105      "python",
106      "-u",
107      "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
108      "--build-dir",
109      "RECIPE_PACKAGE_REPO[skia]",
110      "--output-json",
111      "/path/to/tmp/json"
112    ],
113    "name": "find isolated tests",
114    "~followup_annotations": [
115      "@@@STEP_LOG_LINE@json.output@{@@@",
116      "@@@STEP_LOG_LINE@json.output@  \"test1\": \"[dummy hash for test1]\", @@@",
117      "@@@STEP_LOG_LINE@json.output@  \"test2\": \"[dummy hash for test2]\", @@@",
118      "@@@STEP_LOG_LINE@json.output@  \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
119      "@@@STEP_LOG_LINE@json.output@}@@@",
120      "@@@STEP_LOG_END@json.output@@@",
121      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
122    ]
123  },
124  {
125    "cmd": [
126      "python",
127      "-u",
128      "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
129      "[START_DIR]/swarming.client",
130      "exparchive",
131      "--dump-json",
132      "/path/to/tmp/json",
133      "--isolate-server",
134      "https://isolateserver-dev.appspot.com",
135      "--eventlog-endpoint",
136      "prod",
137      "--isolate",
138      "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolate",
139      "--isolated",
140      "RECIPE_PACKAGE_REPO[skia]/test_exparchive.isolated"
141    ],
142    "name": "isolate test_exparchive",
143    "~followup_annotations": [
144      "@@@STEP_LOG_LINE@json.output@{@@@",
145      "@@@STEP_LOG_LINE@json.output@  \"test_exparchive\": \"[dummy hash for test_exparchive]\"@@@",
146      "@@@STEP_LOG_LINE@json.output@}@@@",
147      "@@@STEP_LOG_END@json.output@@@"
148    ]
149  },
150  {
151    "cmd": [
152      "python",
153      "-u",
154      "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
155      "[START_DIR]/swarming.client",
156      "batcharchive",
157      "--dump-json",
158      "/path/to/tmp/json",
159      "--isolate-server",
160      "https://isolateserver-dev.appspot.com",
161      "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
162      "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
163    ],
164    "name": "isolate tests",
165    "~followup_annotations": [
166      "@@@STEP_LOG_LINE@json.output@{@@@",
167      "@@@STEP_LOG_LINE@json.output@  \"test1\": \"[dummy hash for test1]\", @@@",
168      "@@@STEP_LOG_LINE@json.output@  \"test2\": \"[dummy hash for test2]\"@@@",
169      "@@@STEP_LOG_LINE@json.output@}@@@",
170      "@@@STEP_LOG_END@json.output@@@",
171      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\", \"test_exparchive\": \"[dummy hash for test_exparchive]\"}@@@"
172    ]
173  },
174  {
175    "name": "$result",
176    "recipe_result": null,
177    "status_code": 0
178  }
179]