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