OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "cmd": [ | 3 "cmd": [ |
4 "python", | 4 "python", |
5 "-u", | 5 "-u", |
6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", | 6 "RECIPE_MODULE[depot_tools::git]/resources/git_setup.py", |
7 "--path", | 7 "--path", |
8 "[CWD]/swarming.client", | 8 "[SLAVE_BUILD]/swarming.client", |
9 "--url", | 9 "--url", |
10 "https://chromium.googlesource.com/external/swarming.client.git" | 10 "https://chromium.googlesource.com/external/swarming.client.git" |
11 ], | 11 ], |
| 12 "cwd": "[SLAVE_BUILD]", |
12 "name": "git setup (swarming_client)" | 13 "name": "git setup (swarming_client)" |
13 }, | 14 }, |
14 { | 15 { |
15 "cmd": [ | 16 "cmd": [ |
16 "git", | 17 "git", |
17 "retry", | 18 "retry", |
18 "fetch", | 19 "fetch", |
19 "origin", | 20 "origin", |
20 "master" | 21 "master" |
21 ], | 22 ], |
22 "cwd": "[CWD]/swarming.client", | 23 "cwd": "[SLAVE_BUILD]/swarming.client", |
23 "name": "git fetch (swarming_client)" | 24 "name": "git fetch (swarming_client)" |
24 }, | 25 }, |
25 { | 26 { |
26 "cmd": [ | 27 "cmd": [ |
27 "git", | 28 "git", |
28 "checkout", | 29 "checkout", |
29 "-f", | 30 "-f", |
30 "FETCH_HEAD" | 31 "FETCH_HEAD" |
31 ], | 32 ], |
32 "cwd": "[CWD]/swarming.client", | 33 "cwd": "[SLAVE_BUILD]/swarming.client", |
33 "name": "git checkout (swarming_client)" | 34 "name": "git checkout (swarming_client)" |
34 }, | 35 }, |
35 { | 36 { |
36 "cmd": [ | 37 "cmd": [ |
37 "git", | 38 "git", |
38 "rev-parse", | 39 "rev-parse", |
39 "HEAD" | 40 "HEAD" |
40 ], | 41 ], |
41 "cwd": "[CWD]/swarming.client", | 42 "cwd": "[SLAVE_BUILD]/swarming.client", |
42 "name": "read revision", | 43 "name": "read revision", |
43 "stdout": "/path/to/tmp/", | 44 "stdout": "/path/to/tmp/", |
44 "~followup_annotations": [ | 45 "~followup_annotations": [ |
45 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 46 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
46 ] | 47 ] |
47 }, | 48 }, |
48 { | 49 { |
49 "cmd": [ | 50 "cmd": [ |
50 "git", | 51 "git", |
51 "clean", | 52 "clean", |
52 "-f", | 53 "-f", |
53 "-d", | 54 "-d", |
54 "-x" | 55 "-x" |
55 ], | 56 ], |
56 "cwd": "[CWD]/swarming.client", | 57 "cwd": "[SLAVE_BUILD]/swarming.client", |
57 "name": "git clean (swarming_client)" | 58 "name": "git clean (swarming_client)" |
58 }, | 59 }, |
59 { | 60 { |
60 "cmd": [ | 61 "cmd": [ |
61 "git", | 62 "git", |
62 "submodule", | 63 "submodule", |
63 "sync" | 64 "sync" |
64 ], | 65 ], |
65 "cwd": "[CWD]/swarming.client", | 66 "cwd": "[SLAVE_BUILD]/swarming.client", |
66 "name": "submodule sync (swarming_client)" | 67 "name": "submodule sync (swarming_client)" |
67 }, | 68 }, |
68 { | 69 { |
69 "cmd": [ | 70 "cmd": [ |
70 "git", | 71 "git", |
71 "submodule", | 72 "submodule", |
72 "update", | 73 "update", |
73 "--init", | 74 "--init", |
74 "--recursive" | 75 "--recursive" |
75 ], | 76 ], |
76 "cwd": "[CWD]/swarming.client", | 77 "cwd": "[SLAVE_BUILD]/swarming.client", |
77 "name": "submodule update (swarming_client)" | 78 "name": "submodule update (swarming_client)" |
78 }, | 79 }, |
79 { | 80 { |
80 "cmd": [ | 81 "cmd": [ |
81 "cat" | 82 "cat" |
82 ], | 83 ], |
| 84 "cwd": "[SLAVE_BUILD]", |
83 "name": "read test spec", | 85 "name": "read test spec", |
84 "stdout": "/path/to/tmp/json", | 86 "stdout": "/path/to/tmp/json", |
85 "~followup_annotations": [ | 87 "~followup_annotations": [ |
86 "@@@STEP_LOG_LINE@json.output@null@@@", | 88 "@@@STEP_LOG_LINE@json.output@null@@@", |
87 "@@@STEP_LOG_END@json.output@@@" | 89 "@@@STEP_LOG_END@json.output@@@" |
88 ] | 90 ] |
89 }, | 91 }, |
90 { | 92 { |
91 "cmd": [ | 93 "cmd": [ |
92 "python", | 94 "python", |
93 "-u", | 95 "-u", |
94 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", | 96 "RECIPE_MODULE[build::isolate]/resources/find_isolated_tests.py", |
95 "--build-dir", | 97 "--build-dir", |
96 "[ROOT]/b/build", | 98 "[BUILD]", |
97 "--output-json", | 99 "--output-json", |
98 "/path/to/tmp/json" | 100 "/path/to/tmp/json" |
99 ], | 101 ], |
| 102 "cwd": "[SLAVE_BUILD]", |
100 "name": "find isolated tests", | 103 "name": "find isolated tests", |
101 "~followup_annotations": [ | 104 "~followup_annotations": [ |
102 "@@@STEP_LOG_LINE@json.output@{}@@@", | 105 "@@@STEP_LOG_LINE@json.output@{}@@@", |
103 "@@@STEP_LOG_END@json.output@@@", | 106 "@@@STEP_LOG_END@json.output@@@", |
104 "@@@STEP_WARNINGS@@@", | 107 "@@@STEP_WARNINGS@@@", |
105 "@@@SET_BUILD_PROPERTY@swarm_hashes@{}@@@" | 108 "@@@SET_BUILD_PROPERTY@swarm_hashes@{}@@@" |
106 ] | 109 ] |
107 }, | 110 }, |
108 { | 111 { |
109 "name": "$result", | 112 "name": "$result", |
110 "recipe_result": null, | 113 "recipe_result": null, |
111 "status_code": 0 | 114 "status_code": 0 |
112 } | 115 } |
113 ] | 116 ] |
OLD | NEW |