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 "--force" | |
65 ], | |
66 "cwd": "[SLAVE_BUILD]/src", | |
67 "name": "submodule update" | |
68 }, | |
69 { | |
70 "cmd": [ | |
71 "git", | |
72 "-c", | |
73 "foo=bar", | |
74 "count-objects", | |
75 "-v" | |
76 ], | |
77 "cwd": "[SLAVE_BUILD]/src", | |
78 "name": "count-objects", | |
79 "stdout": "/path/to/tmp/" | |
80 }, | |
81 { | |
82 "cmd": [ | |
83 "git", | |
84 "config", | |
85 "--get", | |
86 "remote.origin.url" | |
87 ], | |
88 "cwd": "[SLAVE_BUILD]/src", | |
89 "name": "git config remote.origin.url", | |
90 "stdout": "/path/to/tmp/", | |
91 "~followup_annotations": [ | |
92 "@@@STEP_TEXT@foo@@@" | |
93 ] | |
94 }, | |
95 { | |
96 "cmd": [ | |
97 "git", | |
98 "show", | |
99 "HEAD", | |
100 "--format=%at", | |
101 "-s" | |
102 ], | |
103 "cwd": "[SLAVE_BUILD]/src", | |
104 "name": "git show", | |
105 "stdout": "/path/to/tmp/" | |
106 }, | |
107 { | |
108 "cmd": [ | |
109 "git", | |
110 "fetch", | |
111 "origin", | |
112 "--tags" | |
113 ], | |
114 "cwd": "[SLAVE_BUILD]/src", | |
115 "name": "git fetch tags" | |
116 }, | |
117 { | |
118 "cmd": [ | |
119 "git", | |
120 "status" | |
121 ], | |
122 "cwd": "[SLAVE_BUILD]/src", | |
123 "name": "git status" | |
124 }, | |
125 { | |
126 "cmd": [ | |
127 "git", | |
128 "status" | |
129 ], | |
130 "cwd": "[SLAVE_BUILD]/src", | |
131 "name": "git status can_fail_build" | |
132 }, | |
133 { | |
134 "cmd": [ | |
135 "git", | |
136 "status" | |
137 ], | |
138 "cwd": "[SLAVE_BUILD]/src", | |
139 "name": "git status cannot_fail_build" | |
140 }, | |
141 { | |
142 "cmd": [ | |
143 "git", | |
144 "rebase", | |
145 "origin/master" | |
146 ], | |
147 "cwd": "[SLAVE_BUILD]/src", | |
148 "name": "my repo rebase" | |
149 }, | |
150 { | |
151 "cmd": [ | |
152 "git", | |
153 "bundle", | |
154 "create", | |
155 "[SLAVE_BUILD]/all.bundle", | |
156 "--all" | |
157 ], | |
158 "cwd": "[SLAVE_BUILD]/src", | |
159 "name": "git bundle" | |
160 }, | |
161 { | |
162 "name": "$result", | |
163 "recipe_result": null, | |
164 "status_code": 0 | |
165 } | |
166 ] | |
OLD | NEW |