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