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_LOG_LINE@exception@ValueError(\"invalid literal for long() with b
ase 10: 'xxx'\",)@@@", | |
81 "@@@STEP_LOG_END@exception@@@", | |
82 "@@@STEP_WARNINGS@@@" | |
83 ] | |
84 }, | |
85 { | |
86 "cmd": [ | |
87 "git", | |
88 "config", | |
89 "--get", | |
90 "remote.origin.url" | |
91 ], | |
92 "cwd": "[SLAVE_BUILD]/src", | |
93 "name": "git config remote.origin.url", | |
94 "stdout": "/path/to/tmp/", | |
95 "~followup_annotations": [ | |
96 "@@@STEP_TEXT@foo@@@" | |
97 ] | |
98 }, | |
99 { | |
100 "cmd": [ | |
101 "git", | |
102 "show", | |
103 "HEAD", | |
104 "--format=%at", | |
105 "-s" | |
106 ], | |
107 "cwd": "[SLAVE_BUILD]/src", | |
108 "name": "git show", | |
109 "stdout": "/path/to/tmp/" | |
110 }, | |
111 { | |
112 "cmd": [ | |
113 "git", | |
114 "fetch", | |
115 "origin", | |
116 "--tags" | |
117 ], | |
118 "cwd": "[SLAVE_BUILD]/src", | |
119 "name": "git fetch tags" | |
120 }, | |
121 { | |
122 "cmd": [ | |
123 "git", | |
124 "status" | |
125 ], | |
126 "cwd": "[SLAVE_BUILD]/src", | |
127 "name": "git status" | |
128 }, | |
129 { | |
130 "cmd": [ | |
131 "git", | |
132 "status" | |
133 ], | |
134 "cwd": "[SLAVE_BUILD]/src", | |
135 "name": "git status can_fail_build" | |
136 }, | |
137 { | |
138 "cmd": [ | |
139 "git", | |
140 "status" | |
141 ], | |
142 "cwd": "[SLAVE_BUILD]/src", | |
143 "name": "git status cannot_fail_build" | |
144 }, | |
145 { | |
146 "cmd": [ | |
147 "git", | |
148 "rebase", | |
149 "origin/master" | |
150 ], | |
151 "cwd": "[SLAVE_BUILD]/src", | |
152 "name": "my repo rebase" | |
153 }, | |
154 { | |
155 "cmd": [ | |
156 "git", | |
157 "bundle", | |
158 "create", | |
159 "[SLAVE_BUILD]/all.bundle", | |
160 "--all" | |
161 ], | |
162 "cwd": "[SLAVE_BUILD]/src", | |
163 "name": "git bundle" | |
164 }, | |
165 { | |
166 "name": "$result", | |
167 "recipe_result": null, | |
168 "status_code": 0 | |
169 } | |
170 ] | |
OLD | NEW |