• 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      "--progress"
22    ],
23    "cwd": "[START_DIR]/swarming.client",
24    "env": {
25      "PATH": "RECIPE_PACKAGE_REPO[depot_tools]:<PATH>"
26    },
27    "infra_step": true,
28    "name": "git fetch (swarming_client)"
29  },
30  {
31    "cmd": [
32      "git",
33      "checkout",
34      "-f",
35      "FETCH_HEAD"
36    ],
37    "cwd": "[START_DIR]/swarming.client",
38    "infra_step": true,
39    "name": "git checkout (swarming_client)"
40  },
41  {
42    "cmd": [
43      "git",
44      "rev-parse",
45      "HEAD"
46    ],
47    "cwd": "[START_DIR]/swarming.client",
48    "infra_step": true,
49    "name": "read revision",
50    "stdout": "/path/to/tmp/",
51    "~followup_annotations": [
52      "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@"
53    ]
54  },
55  {
56    "cmd": [
57      "git",
58      "clean",
59      "-f",
60      "-d",
61      "-x"
62    ],
63    "cwd": "[START_DIR]/swarming.client",
64    "infra_step": true,
65    "name": "git clean (swarming_client)"
66  },
67  {
68    "cmd": [
69      "git",
70      "submodule",
71      "sync"
72    ],
73    "cwd": "[START_DIR]/swarming.client",
74    "infra_step": true,
75    "name": "submodule sync (swarming_client)"
76  },
77  {
78    "cmd": [
79      "git",
80      "submodule",
81      "update",
82      "--init",
83      "--recursive"
84    ],
85    "cwd": "[START_DIR]/swarming.client",
86    "infra_step": true,
87    "name": "submodule update (swarming_client)"
88  },
89  {
90    "cmd": [
91      "cat"
92    ],
93    "name": "read test spec",
94    "stdout": "/path/to/tmp/json",
95    "~followup_annotations": [
96      "@@@STEP_LOG_LINE@json.output@null@@@",
97      "@@@STEP_LOG_END@json.output@@@"
98    ]
99  },
100  {
101    "cmd": [
102      "python",
103      "-u",
104      "RECIPE_MODULE[skia::isolate]/resources/find_isolated_tests.py",
105      "--build-dir",
106      "RECIPE_PACKAGE_REPO[skia]",
107      "--output-json",
108      "/path/to/tmp/json"
109    ],
110    "name": "find isolated tests",
111    "~followup_annotations": [
112      "@@@STEP_LOG_LINE@json.output@{@@@",
113      "@@@STEP_LOG_LINE@json.output@  \"dummy_target_1\": \"[dummy hash for dummy_target_1]\", @@@",
114      "@@@STEP_LOG_LINE@json.output@  \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"@@@",
115      "@@@STEP_LOG_LINE@json.output@}@@@",
116      "@@@STEP_LOG_END@json.output@@@",
117      "@@@SET_BUILD_PROPERTY@swarm_hashes@{\"dummy_target_1\": \"[dummy hash for dummy_target_1]\", \"dummy_target_2\": \"[dummy hash for dummy_target_2]\"}@@@"
118    ]
119  },
120  {
121    "name": "$result",
122    "recipe_result": null,
123    "status_code": 0
124  }
125]