• 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@]@@@",
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@  \"extra_test\": \"[dummy hash for extra_test]\", @@@",
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@}@@@",
119      "@@@STEP_LOG_END@json.output@@@",
120      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\"}@@@"
121    ]
122  },
123  {
124    "cmd": [
125      "python",
126      "-u",
127      "RECIPE_MODULE[skia::isolate]/resources/isolate.py",
128      "[START_DIR]/swarming.client",
129      "batcharchive",
130      "--dump-json",
131      "/path/to/tmp/json",
132      "--isolate-server",
133      "https://isolateserver-dev.appspot.com",
134      "RECIPE_PACKAGE_REPO[skia]/test1.isolated.gen.json",
135      "RECIPE_PACKAGE_REPO[skia]/test2.isolated.gen.json"
136    ],
137    "name": "isolate tests",
138    "~followup_annotations": [
139      "@@@STEP_LOG_LINE@json.output@{@@@",
140      "@@@STEP_LOG_LINE@json.output@  \"test1\": \"[dummy hash for test1]\", @@@",
141      "@@@STEP_LOG_LINE@json.output@  \"test2\": \"[dummy hash for test2]\"@@@",
142      "@@@STEP_LOG_LINE@json.output@}@@@",
143      "@@@STEP_LOG_END@json.output@@@",
144      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"test1\": \"[dummy hash for test1]\", \"test2\": \"[dummy hash for test2]\"}@@@"
145    ]
146  },
147  {
148    "name": "$result",
149    "recipe_result": null,
150    "status_code": 0
151  }
152]