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]\\src", | 8 "[SLAVE_BUILD]\\src", |
9 "--url", | 9 "--url", |
10 "https://chromium.googlesource.com/chromium/src.git", | 10 "https://chromium.googlesource.com/chromium/src.git", |
11 "--git_cmd_path", | 11 "--git_cmd_path", |
12 "[DEPOT_TOOLS]\\git.bat" | 12 "RECIPE_PACKAGE[depot_tools]\\git.bat" |
13 ], | 13 ], |
14 "cwd": "[SLAVE_BUILD]", | 14 "cwd": "[SLAVE_BUILD]", |
15 "name": "git setup" | 15 "name": "git setup" |
16 }, | 16 }, |
17 { | 17 { |
18 "cmd": [ | 18 "cmd": [ |
19 "[DEPOT_TOOLS]\\git.bat", | 19 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
20 "retry", | 20 "retry", |
21 "fetch", | 21 "fetch", |
22 "origin", | 22 "origin", |
23 "master", | 23 "master", |
24 "--recurse-submodules" | 24 "--recurse-submodules" |
25 ], | 25 ], |
26 "cwd": "[SLAVE_BUILD]\\src", | 26 "cwd": "[SLAVE_BUILD]\\src", |
27 "name": "git fetch" | 27 "name": "git fetch" |
28 }, | 28 }, |
29 { | 29 { |
30 "cmd": [ | 30 "cmd": [ |
31 "[DEPOT_TOOLS]\\git.bat", | 31 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
32 "checkout", | 32 "checkout", |
33 "-f", | 33 "-f", |
34 "FETCH_HEAD" | 34 "FETCH_HEAD" |
35 ], | 35 ], |
36 "cwd": "[SLAVE_BUILD]\\src", | 36 "cwd": "[SLAVE_BUILD]\\src", |
37 "name": "git checkout" | 37 "name": "git checkout" |
38 }, | 38 }, |
39 { | 39 { |
40 "cmd": [ | 40 "cmd": [ |
41 "[DEPOT_TOOLS]\\git.bat", | 41 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
42 "rev-parse", | 42 "rev-parse", |
43 "HEAD" | 43 "HEAD" |
44 ], | 44 ], |
45 "cwd": "[SLAVE_BUILD]\\src", | 45 "cwd": "[SLAVE_BUILD]\\src", |
46 "name": "read revision", | 46 "name": "read revision", |
47 "stdout": "/path/to/tmp/", | 47 "stdout": "/path/to/tmp/", |
48 "~followup_annotations": [ | 48 "~followup_annotations": [ |
49 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" | 49 "@@@STEP_TEXT@<br/>checked out 'deadbeef'<br/>@@@" |
50 ] | 50 ] |
51 }, | 51 }, |
52 { | 52 { |
53 "cmd": [ | 53 "cmd": [ |
54 "[DEPOT_TOOLS]\\git.bat", | 54 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
55 "clean", | 55 "clean", |
56 "-f", | 56 "-f", |
57 "-d", | 57 "-d", |
58 "-x" | 58 "-x" |
59 ], | 59 ], |
60 "cwd": "[SLAVE_BUILD]\\src", | 60 "cwd": "[SLAVE_BUILD]\\src", |
61 "name": "git clean" | 61 "name": "git clean" |
62 }, | 62 }, |
63 { | 63 { |
64 "cmd": [ | 64 "cmd": [ |
65 "[DEPOT_TOOLS]\\git.bat", | 65 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
66 "submodule", | 66 "submodule", |
67 "sync" | 67 "sync" |
68 ], | 68 ], |
69 "cwd": "[SLAVE_BUILD]\\src", | 69 "cwd": "[SLAVE_BUILD]\\src", |
70 "name": "submodule sync" | 70 "name": "submodule sync" |
71 }, | 71 }, |
72 { | 72 { |
73 "cmd": [ | 73 "cmd": [ |
74 "[DEPOT_TOOLS]\\git.bat", | 74 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
75 "submodule", | 75 "submodule", |
76 "update", | 76 "update", |
77 "--init", | 77 "--init", |
78 "--recursive" | 78 "--recursive" |
79 ], | 79 ], |
80 "cwd": "[SLAVE_BUILD]\\src", | 80 "cwd": "[SLAVE_BUILD]\\src", |
81 "name": "submodule update" | 81 "name": "submodule update" |
82 }, | 82 }, |
83 { | 83 { |
84 "cmd": [ | 84 "cmd": [ |
85 "[DEPOT_TOOLS]\\git.bat", | 85 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
86 "-c", | 86 "-c", |
87 "foo=bar", | 87 "foo=bar", |
88 "count-objects", | 88 "count-objects", |
89 "-v" | 89 "-v" |
90 ], | 90 ], |
91 "cwd": "[SLAVE_BUILD]\\src", | 91 "cwd": "[SLAVE_BUILD]\\src", |
92 "name": "count-objects", | 92 "name": "count-objects", |
93 "stdout": "/path/to/tmp/" | 93 "stdout": "/path/to/tmp/" |
94 }, | 94 }, |
95 { | 95 { |
96 "cmd": [ | 96 "cmd": [ |
97 "[DEPOT_TOOLS]\\git.bat", | 97 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
98 "config", | 98 "config", |
99 "--get", | 99 "--get", |
100 "remote.origin.url" | 100 "remote.origin.url" |
101 ], | 101 ], |
102 "cwd": "[SLAVE_BUILD]\\src", | 102 "cwd": "[SLAVE_BUILD]\\src", |
103 "name": "git config remote.origin.url", | 103 "name": "git config remote.origin.url", |
104 "stdout": "/path/to/tmp/", | 104 "stdout": "/path/to/tmp/", |
105 "~followup_annotations": [ | 105 "~followup_annotations": [ |
106 "@@@STEP_TEXT@foo@@@" | 106 "@@@STEP_TEXT@foo@@@" |
107 ] | 107 ] |
108 }, | 108 }, |
109 { | 109 { |
110 "cmd": [ | 110 "cmd": [ |
111 "[DEPOT_TOOLS]\\git.bat", | 111 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
112 "show", | 112 "show", |
113 "HEAD", | 113 "HEAD", |
114 "--format=%at", | 114 "--format=%at", |
115 "-s" | 115 "-s" |
116 ], | 116 ], |
117 "cwd": "[SLAVE_BUILD]\\src", | 117 "cwd": "[SLAVE_BUILD]\\src", |
118 "name": "git show", | 118 "name": "git show", |
119 "stdout": "/path/to/tmp/" | 119 "stdout": "/path/to/tmp/" |
120 }, | 120 }, |
121 { | 121 { |
122 "cmd": [ | 122 "cmd": [ |
123 "[DEPOT_TOOLS]\\git.bat", | 123 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
124 "fetch", | 124 "fetch", |
125 "origin", | 125 "origin", |
126 "--tags" | 126 "--tags" |
127 ], | 127 ], |
128 "cwd": "[SLAVE_BUILD]\\src", | 128 "cwd": "[SLAVE_BUILD]\\src", |
129 "name": "git fetch tags" | 129 "name": "git fetch tags" |
130 }, | 130 }, |
131 { | 131 { |
132 "cmd": [ | 132 "cmd": [ |
133 "[DEPOT_TOOLS]\\git.bat", | 133 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
134 "status" | 134 "status" |
135 ], | 135 ], |
136 "cwd": "[SLAVE_BUILD]\\src", | 136 "cwd": "[SLAVE_BUILD]\\src", |
137 "name": "git status" | 137 "name": "git status" |
138 }, | 138 }, |
139 { | 139 { |
140 "cmd": [ | 140 "cmd": [ |
141 "[DEPOT_TOOLS]\\git.bat", | 141 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
142 "status" | 142 "status" |
143 ], | 143 ], |
144 "cwd": "[SLAVE_BUILD]\\src", | 144 "cwd": "[SLAVE_BUILD]\\src", |
145 "name": "git status can_fail_build" | 145 "name": "git status can_fail_build" |
146 }, | 146 }, |
147 { | 147 { |
148 "cmd": [ | 148 "cmd": [ |
149 "[DEPOT_TOOLS]\\git.bat", | 149 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
150 "status" | 150 "status" |
151 ], | 151 ], |
152 "cwd": "[SLAVE_BUILD]\\src", | 152 "cwd": "[SLAVE_BUILD]\\src", |
153 "name": "git status cannot_fail_build" | 153 "name": "git status cannot_fail_build" |
154 }, | 154 }, |
155 { | 155 { |
156 "cmd": [ | 156 "cmd": [ |
157 "[DEPOT_TOOLS]\\git.bat", | 157 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
158 "rebase", | 158 "rebase", |
159 "origin/master" | 159 "origin/master" |
160 ], | 160 ], |
161 "cwd": "[SLAVE_BUILD]\\src", | 161 "cwd": "[SLAVE_BUILD]\\src", |
162 "name": "my repo rebase" | 162 "name": "my repo rebase" |
163 }, | 163 }, |
164 { | 164 { |
165 "cmd": [ | 165 "cmd": [ |
166 "[DEPOT_TOOLS]\\git.bat", | 166 "RECIPE_PACKAGE[depot_tools]\\git.bat", |
167 "bundle", | 167 "bundle", |
168 "create", | 168 "create", |
169 "[SLAVE_BUILD]\\all.bundle", | 169 "[SLAVE_BUILD]\\all.bundle", |
170 "--all" | 170 "--all" |
171 ], | 171 ], |
172 "cwd": "[SLAVE_BUILD]\\src", | 172 "cwd": "[SLAVE_BUILD]\\src", |
173 "name": "git bundle" | 173 "name": "git bundle" |
174 }, | 174 }, |
175 { | 175 { |
176 "name": "$result", | 176 "name": "$result", |
177 "recipe_result": null, | 177 "recipe_result": null, |
178 "status_code": 0 | 178 "status_code": 0 |
179 } | 179 } |
180 ] | 180 ] |
OLD | NEW |