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