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