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