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 "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" | 48 "@@@SET_BUILD_PROPERTY@got_revision@\"deadbeef\"@@@" |
49 ] | 49 ] |
50 }, | 50 }, |
51 { | 51 { |
52 "cmd": [ | 52 "cmd": [ |
53 "git", | 53 "git", |
54 "clean", | 54 "clean", |
55 "-f", | 55 "-f", |
56 "-d", | 56 "-d", |
57 "-x" | 57 "-x" |
58 ], | 58 ], |
59 "cwd": "[CWD]/src", | 59 "cwd": "[SLAVE_BUILD]/src", |
60 "name": "git clean" | 60 "name": "git clean" |
61 }, | 61 }, |
62 { | 62 { |
63 "cmd": [ | 63 "cmd": [ |
64 "git", | 64 "git", |
65 "submodule", | 65 "submodule", |
66 "sync" | 66 "sync" |
67 ], | 67 ], |
68 "cwd": "[CWD]/src", | 68 "cwd": "[SLAVE_BUILD]/src", |
69 "name": "submodule sync" | 69 "name": "submodule sync" |
70 }, | 70 }, |
71 { | 71 { |
72 "cmd": [ | 72 "cmd": [ |
73 "git", | 73 "git", |
74 "submodule", | 74 "submodule", |
75 "update", | 75 "update", |
76 "--init", | 76 "--init", |
77 "--recursive" | 77 "--recursive" |
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 |