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