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 "stable" | 21 "stable" |
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 "python", | 82 "python", |
82 "-u", | 83 "-u", |
83 "[CWD]/swarming.client/swarming.py", | 84 "[SLAVE_BUILD]/swarming.client/swarming.py", |
84 "--version" | 85 "--version" |
85 ], | 86 ], |
| 87 "cwd": "[SLAVE_BUILD]", |
86 "name": "swarming.py --version", | 88 "name": "swarming.py --version", |
87 "stdout": "/path/to/tmp/", | 89 "stdout": "/path/to/tmp/", |
88 "~followup_annotations": [ | 90 "~followup_annotations": [ |
89 "@@@STEP_TEXT@0.4.10@@@" | 91 "@@@STEP_TEXT@0.4.10@@@" |
90 ] | 92 ] |
91 }, | 93 }, |
92 { | 94 { |
93 "cmd": [ | 95 "cmd": [ |
94 "python", | 96 "python", |
95 "-u", | 97 "-u", |
96 "RECIPE_MODULE[build::swarming_heartbeat]/resources/job_runs_fine.py" | 98 "RECIPE_MODULE[build::swarming_heartbeat]/resources/job_runs_fine.py" |
97 ], | 99 ], |
| 100 "cwd": "[SLAVE_BUILD]", |
98 "name": "job_runs_fine.py" | 101 "name": "job_runs_fine.py" |
99 }, | 102 }, |
100 { | 103 { |
101 "name": "$result", | 104 "name": "$result", |
102 "recipe_result": null, | 105 "recipe_result": null, |
103 "status_code": 0 | 106 "status_code": 0 |
104 } | 107 } |
105 ] | 108 ] |
OLD | NEW |